Reverting a migration

When you do not know my recipes take a look at the introduction, or check out all recipes there are. As usual in the recipe section we will look at the following: The problem to solve Why would you do this What do we actually do with this & How Read more…

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…

Add Shadowproperties to ef core

In this post we will explore the concept of Shadow Properties. We will look into why we might need shadow properties, what they are exayctly and how we can accomplish creating them with ef core. What are Shadow Properties And Why do we need them? Shadow properties are nothing but hidden Read more…