这是代码:
Public Function GetUniqueLocation() As List(Of LoginUser)
Return db.LoginUsers.Select(Function(p) p.LocID).Distinct().ToList()
End Function
这是代码错误!
Value of type 'System.Collections.Generic.List(Of Integer?)' cannot be converted to 'System.Collections.Generic.List(Of LoginUser)