This guide is created for .NET developers that use Entity Framework (EF) Core: to help them understand how EF Core can be used and to prevent common pitfalls and misconceptions when using EF Core.
Topics:
- Setting up your DbContext
- Configuring your entity
- Attributes vs Entity Type Configurations
- Junction tables (many-to-many relations)
- Type convertors
- Migrations
- Updating your database (command line vs in code)
- Querying and filtering
- Prefetches/eager loading
- Creating records
- Updating records
- Deleting records
- Transactions
- Concurrency control
- Multi-tenancy
- Database specifics
- Tips and tricks
- NoTracking as default (opt-in to track)