-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Mastering ABP Framework
By :
Filtering data in a query is very common in database operations. If you are using Structured Query Language (SQL), you can use the WHERE clause. If you are using Language Integrated Query (LINQ), you use the Where extension method in C#. While most of these filtering conditions vary in your queries, some expressions are applied to all queries you run if you implement patterns such as soft-delete and multi-tenancy.
ABP automates the data filtering process to help you avoid repeating the same filtering logic everywhere in your application code.
In this section, we will first see the pre-built data filters of ABP Framework, then learn how to disable the filters when we need to. Finally, we will see how to implement our custom data filters.
We typically use simple interfaces to enable filtering for entities. ABP defines two pre-defined data filters to implement soft-delete and multi-tenancy patterns.
If you use...