All 25 chapters available

Stage 02 · Relational Databases

Entity Framework Core

A complete Entity Framework Core path from DbContext and model mapping through LINQ translation, change tracking, migrations, concurrency, transactions, provider-specific behavior, diagnostics, testing, security, multi-tenancy, performance, and production architecture.

25chapters
125lesson paths
Intermediate → Advancedlearning level
Publishedcourse state
Coverage baselineEF Core 10 LTS on .NET 10, with relational provider portability

Course brief

Turn an ORM into a predictable data-access layer, not a black box.

A complete Entity Framework Core path from DbContext and model mapping through LINQ translation, change tracking, migrations, concurrency, transactions, provider-specific behavior, diagnostics, testing, security, multi-tenancy, performance, and production architecture.

This syllabus deliberately separates foundations, data modeling, query behavior, internals, reliability, security, performance, operations, and production design so advanced material is not compressed into generic catch-all chapters.

By the end

You will be able to

  • Design precise EF Core models using conventions, Fluent API, relationships, complex types, conversions, inheritance, and provider-aware mappings
  • Write LINQ that translates predictably, choose loading and tracking strategies deliberately, and diagnose generated SQL
  • Manage schema evolution with migrations, reverse engineering, seeding, deployment scripts, and compatibility controls
  • Handle concurrency, transactions, retries, multi-tenancy, security, testing, and observability without hiding database semantics
  • Tune and operate EF Core in production using projections, batching, pooling, compiled artifacts, interceptors, provider-specific features, and evidence-based performance work

Complete syllabus

25 chapters · 125 lessons.

Every lesson path was reserved in the planned syllabus and is now linked because its lesson HTML is available. The sequence moves from foundations through advanced implementation, architecture, operations, reliability, security, tuning, and a production capstone.

01

Chapter 1

EF Core Foundations, .NET Integration, Providers, and the First Lab

5 lessons
02

Chapter 2

DbContext Lifecycle, Configuration, Dependency Injection, Factories, and Pooling

5 lessons
03

Chapter 3

Model Building: Conventions, Data Annotations, Fluent API, and Metadata

5 lessons
04

Chapter 4

Keys, Indexes, Property Semantics, Value Generation, and Shadow State

5 lessons
05

Chapter 5

Relationships, Navigations, Cascade Behavior, and Many-to-Many Modeling

5 lessons
06

Chapter 6

Complex Types, Owned Types, JSON Mapping, Conversions, Comparers, and Encapsulation

5 lessons
07

Chapter 7

Inheritance, Table Splitting, Entity Splitting, and Advanced Relational Mapping

5 lessons
08

Chapter 8

LINQ Query Fundamentals and the EF Translation Pipeline

5 lessons
09

Chapter 9

Advanced LINQ: Joins, Grouping, Subqueries, Set Operations, and Raw SQL Composition

5 lessons
10

Chapter 10

Loading Related Data: Eager, Explicit, Lazy, Filtered Include, and Split Queries

5 lessons
11

Chapter 11

Change Tracking, Entity States, Identity Resolution, and Disconnected Graphs

5 lessons
12

Chapter 12

Saving Data: Insert, Update, Delete, Batching, ExecuteUpdate, and ExecuteDelete

5 lessons
13

Chapter 13

Optimistic Concurrency and Conflict Resolution

5 lessons
14

Chapter 14

Transactions, Savepoints, Execution Strategies, and Cross-Context Coordination

5 lessons
15

Chapter 15

Migrations, Model Snapshots, Seeding, Scripts, Bundles, and Deployment

5 lessons
16

Chapter 16

Reverse Engineering and Database-First Workflows

5 lessons
17

Chapter 17

Performance Engineering: Query Shape, Compiled Artifacts, Pooling, and Database Evidence

5 lessons
18

Chapter 18

Diagnostics, Logging, Interceptors, Metrics, and Observability

5 lessons
19

Chapter 19

SQL Server and Azure SQL Provider Deep Dive

5 lessons
20

Chapter 20

SQLite Provider Deep Dive and Embedded-Database Constraints

5 lessons
21

Chapter 21

PostgreSQL, MySQL, and Cross-Provider Portability

5 lessons
22

Chapter 22

Global Query Filters, Multi-Tenancy, Soft Delete, and Data Partitioning

5 lessons
23

Chapter 23

Testing EF Core Correctly: Unit, Integration, Containers, and Migration Verification

5 lessons
24

Chapter 24

Security, Raw SQL, Secrets, Authorization Boundaries, and Abuse Resistance

5 lessons
25

Chapter 25

Production Architecture, DDD/CQRS Integration, Reliability, and Capstone

5 lessons