- ABP Framework version: v8.3
- UI Type: Angular
- Database System: EF Core (SQL Server)
Hi abp support team,
I read the documents about Organization Unit and filtering data (Doc1, Doc2) ,
and implement this with following steps:
- create IHasOrganizationUnit interface with property OrganizationUnitId
- create entity SampleEntity and implement the interface
- develop Filter in DbContext and add equal expresion to this filter
- develop ShouldFilterEntity for disabling and enabling this filter
- create Sample AppService class and implement GetList of data
now i can filter data with User Organization Unit in the appService as well.
Question: Is there any way that i can change filterType in AppService and filter data for:
- list of OrganizationUnit, as List of User's Organization Units,
- or User Organization Unit and its dependent Organization Unit in the hierarchy,
- or something else?
Thanks