0
antpstevens created
for a query like following
var query = UserManager.Users .Include(u => u.Roles) .WhereIf( !input.Filter.IsNullOrWhiteSpace(), u => u.Name.Contains(input.Filter) || u.Surname.Contains(input.Filter) || u.UserName.Contains(input.Filter) || u.EmailAddress.Contains(input.Filter) );
framework throws error
The method 'Abp.Authorization.Users.AbpUserBase.get_UserName' is not a property accessor
To fix the issue, I have to enumerate( call ToList()) and query the list, which gives me performance issues.
1 Answer(s)
-
0
Are you sure that you upgraded all Abp.* and Abp.Zero.* nuget packages? Because it's properly working for us.