Hi, I have my custom EmployeesService overriding IdenitityAppService and my custom repository EmployeeRepository overriding EfCoreIdentityUserRepository. I want to write a query with type of iqueryable which has extra properties in repository.
I can do this task using Identity User's default properties but the task i want to accomplish requires me to do it with the extra properties as well.
Is this doable or should i get all elements in a list and filter that list? Getting the list and filtering it after couses performance problems, so any other solution you might have for this problem would be very appreciated.
Ex: var query = await GetQueryableAsync(); query = query.Where(x => x.? ...)
- ABP Framework version: v6.0.1
- UI type: MVC / Jquery
- DB provider: EF Core
- Tiered (MVC) or Identity Server Separated (Angular): no
2 Answer(s)
-
0
Hi,
I believe you will find the answer you are looking for here. See: https://github.com/abpframework/abp/issues/10662#issuecomment-972765041
-
0
It works, thank you for your quick responce.