Query patterns

In this post we will explore the following patterns for querying with ef core to make the queries more maintainable by reusing code and making the queries testable where we use them. Query Object Pattern Specification Pattern Unit of Work Pattern Specification Pattern What is it? The specification pattern allwos Read more…

EF core querying basics

In this post we will be looking at all the basic patterns you can use to query the database with ef core. The post includes the following: Crud Operations Querying (get data from the database) Explicit, Eager and Lazy Loading CRUD Operations For the following examples and instructions we assume that Read more…