Re-use EF Core Expressions to avoid redundant queries
I often see snippets in EF Core code reviews such as the following: C# dbContext.Users.Where( user => user.Id == id ); The query filter user => user.Id == id is contained directly in the Where - often not just in one …
Read Blog Post

