A global query filter is an Entity Framework Core model-level predicate that automatically adds a Where condition when querying an entity type. For example, a Recipe filter can hide records whose IsDeleted flag is true without repeating the condition in every service method. section 12.4.4
Use global query filters to:
- Keep soft-deleted Recipes out of normal query results. section 12.4.4
- Segregate data in a multitenant environment. section 12.4.4
