Search⌘ K
AI Features

Global Query Filters

Explore how to configure and use global query filters in Entity Framework Core to automatically apply predicates across queries. Learn to filter entities like soft-deleted records and how to disable filters when needed, improving control over data retrieval.

Overview

In this lesson, we review global query filters.

Note: The outputs from the projects in this lesson contain the result of the sample codes and logs for the translated SQL queries used.

Global query filters

Global query filters enable us to ...