EF-core cook-book

On this page all ef core recipes from this blog are listed in an unsorted manner, but grouped by topics.
First to get an impression what this is all about look at the following introductionto this style of posts.
Else pick and choose one that you are interested in and go from there.

Basics

Migrations

Relations and definitions

Queries

Advanced

  • Transactions
  • EntityTypeConfiguration classes
  • DbContextFactory with multiple DbContexts
  • Raw sql
  • Concurrency