Transactions

In this post we will be looking at a way to handle multiple dependent queries in ef core. With dependent we mean queries that should either be successful in conjunction or let all of them fail together. This is often necessary to keep the business logic consistent. From database management Read more…

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…