facebook

Entity Framework Dynamic Filters


Downloaded more than
0
times !
//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);

What's EF Dynamic Filters?

What's EF Dynamic Filters?

Entity Framework Dynamic Filter allows filtering all queries using a LINQ expression.

When should I use EF Dynamic Filters?

When should I use EF Dynamic Filters?

Whenever you need to filter all your questions such as Multi-Tenancy, Soft Delete, Active/Inactive, Etc.

Is EF Dynamic Filters SQL Injections safe?

Is EF Dynamic Filters SQL Injections safe?

Yes, our library uses LINQ expression to set parameters to avoid SQL injections.

Is EF Core supported?

Is EF Core supported?

No, this library requires DbInterception which has not been implemented yet by the EF Core team.

Need more performance?

Need more performance?

Find out how to dramatically improve EF performances with
Entity Framework Extensions

Where can I find examples?

Where can I find examples?

Online examples are now available!

Online Examples

Our achievements


customers 5000+ Customers
countries 75+ Countries
requests 8000+ Requests closed
downloads 50 000 000+downloads
visitors 4 000 000+daily visitors

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.