Talk type: Talk

LINQ Expressions: Art of Querying Data

  • Talk in Russian
Presentation pdf

Requests to read data much more than commands to change data. Filtering logic may change during application lifecycle. So it is important to encapsulate the filtering rules in some wrappers and combine wrappers with each other and with rules without wrappers.

The talk will tell how to solve this problem using a modern implementation of the Specification pattern based on LINQ Expressions and what pitfalls can be encountered when implementing this pattern. We will also talk about the most useful libraries where the Specification has already been implemented, including new EF Core 7 features or Source Generators.

In addition, we will choose the most convenient and effective way to filter by nested collections. And we will discuss how the autofilter helps to combat the routine of filtering.