//Extend DbContext context.DisableFilter("IsDeleted"); context.DisableAllFilters(); context.EnableAllFilters(); //Extend DbModelBuilder modelBuilder.DisableFilterGlobally("IsDeleted"); modelBuilder.EnableFilterGlobally("IsDeleted"); modelBuilder.Filter("IsDeleted", (ISoftDelete d) => d.IsDeleted, false);
Entity Framework Dynamic Filter allows filtering all queries using a LINQ expression.
Whenever you need to filter all your questions such as Multi-Tenancy, Soft Delete, Active/Inactive, Etc.
Yes, our library uses LINQ expression to set parameters to avoid SQL injections.
No, this library requires DbInterception which has not been implemented yet by the EF Core team.
Find out how to dramatically improve EF performances with
Entity Framework Extensions
Online examples are now available!Online Examples
What we achieved over the last 5 years has grown beyond our hopes. That motivates us to continue to grow and improve all our projects. Every day, we are committed to listening to our clients to help ease the daily dev workload as much as possible.