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.
- Why do we need migrations
- Add and remove an entity via migration
- Rollback a migration
- Fix sqlite migrations with alter table statements
Relations and definitions
- Cardinality and relations
- Database generated values
- Include or exclude properties
- Unique fields
- EntityTypeConfiguration classes
- DbContextFactory with multiple DbContexts
- Raw sql