First of all, thanks for this great project, it really saved my day !
I've came across one issue while using it, I've a global filter named CompanyId but in a certain case, I need to disable this filter so I called DisableFilter method,
however, when I ran sql profiler to capture the produced query, I can still see the filter query is included !
Here's a code snippet to show how I'm calling the api:
_context.DisableFilter("CompanyId");
var result = _context.Set<TEntity>().Where(x => !x.IsDeleted).Count(x => x.Id != currentEntityId) > 0;
_context.EnableFilter("CompanyId");
First of all, thanks for this great project, it really saved my day ! I've came across one issue while using it, I've a global filter named CompanyId but in a certain case, I need to disable this filter so I called DisableFilter method, however, when I ran sql profiler to capture the produced query, I can still see the filter query is included !
Here's a code snippet to show how I'm calling the api: