EntityFramework.DynamicFilters 1.3.8

Entity Framework Dynamic/Global Filters

Provides global & scoped filters for Entity Framework with dynamic filter parameters that are evaluated at query execution.  Supports use cases such as Multi-Tenancy and Soft Deletes.

There is a newer version of this package available.
See the version list below for details.
Install-Package EntityFramework.DynamicFilters -Version 1.3.8
dotnet add package EntityFramework.DynamicFilters --version 1.3.8
paket add EntityFramework.DynamicFilters --version 1.3.8
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

1.1: Fixed issue with TPH inheritance and improved query generation when entity has more than 1 filter.
1.2: Fixed query generation of user specified linq filters (.Where() conditions) under MySQL not being properly enclosed in ()'s.  Fixed SQL Server query generation to not create embedded sub-queries when adding dynamic filters.
1.2.1: Fixed included properties not being filtered.
1.3.0: Added support for linq filters including Contains()
1.3.1: Fixed issue with string in collection
1.3.2: Fixed issue with InitializeDynamicFilters() being called multiple times if more than 1 DbContext is used.  Now no longer necessary to call it at all.
1.3.3: Changed how filters are disabled.  Filters are no longer disabled using a null value on a parameter value.  Fixes not being able to disable filters that have multiple parameters or that use the Contains() operator.
1.3.4: Fixed null reference exception under EF 6.1.2
1.3.5: Fixed issue parsing constant compared against a nullable property
1.3.5.1: Fixed bad NuGet package!
1.3.6: Fixed issue with filters not being applied on multiple navigation properties of same class/interface.  Added DisableFilterGlobally().
1.3.7: Added DisableAllFilters() and EnableAllFilters()
1.3.8: Fixed several issues with comparisons against "null" and Nullable<T>.HasValue not translating to sql "is null"

Version History

Version Downloads Last updated
3.0.1 76,646 11/10/2017
3.0.0 1,807 11/1/2017
2.11.0-beta2 227 9/18/2017
2.11.0-beta1 85 9/18/2017
2.10.0 56,071 7/25/2017
2.9.1 563 7/24/2017
2.9.0 1,760 7/17/2017
2.8.1 11,013 6/26/2017
2.8.0 541 6/25/2017
2.7.0 30,620 5/10/2017
2.6.0 52,157 1/5/2017
2.5.0 12,676 12/2/2016
2.4.0 15,333 10/3/2016
2.3.0 33,024 8/3/2016
2.2.0 4,413 7/20/2016
2.1.0 6,231 7/7/2016
2.0.0 443 7/6/2016
1.4.11 89,549 6/12/2016
1.4.10.3 612 6/12/2016
1.4.10.2 30,421 4/24/2016
1.4.10.1 402 4/22/2016
1.4.10 404 4/21/2016
1.4.9 1,553 4/8/2016
1.4.8 1,306 3/23/2016
1.4.7 19,020 2/11/2016
1.4.6 22,828 12/17/2015
1.4.5 4,165 12/1/2015
1.4.4 1,987 11/17/2015
1.4.3 4,922 10/26/2015
1.4.2 2,366 10/16/2015
1.4.1 18,334 8/19/2015
1.4.0 7,597 6/14/2015
1.3.16 10,245 6/1/2015
1.3.15 3,928 5/16/2015
1.3.14 695 5/10/2015
1.3.13 5,071 4/1/2015
1.3.12 245 3/28/2015
1.3.11 278 3/24/2015
1.3.10 283 3/12/2015
1.3.9 2,719 3/5/2015
1.3.8 288 2/18/2015
1.3.7 700 2/17/2015
Show less