Entity Framework Core Tutorials
Welcome to the official Microsoft documentation for Entity Framework Core. This section provides a comprehensive set of tutorials to help you master EF Core, from basic concepts to advanced techniques.
Featured Tutorials
-
Getting Started with EF Core
Learn how to set up your environment, create your first EF Core model, and perform basic database operations.
-
Configuring Your EF Core Model
Discover how to map your .NET classes to database tables, define primary keys, relationships, and constraints using data annotations and the fluent API.
-
Efficiently Querying Data with EF Core
Master LINQ to Entities and explore techniques for fetching data, including filtering, sorting, projection, and handling related data.
-
Saving Data with EF Core
Understand how to add, update, and delete entities, manage transaction isolation, and handle concurrency conflicts.
-
Database Migrations with EF Core
Learn how to manage database schema changes over time using EF Core Migrations. Create, apply, and revert migrations with ease.
Explore More
Dive deeper into specific aspects of Entity Framework Core:
Prerequisites
To follow along with these tutorials, you should have:
- A good understanding of C# programming.
- Familiarity with the .NET ecosystem.
- Basic knowledge of relational databases.
We recommend starting with the "Getting Started" tutorial and progressing sequentially to build a strong foundation in Entity Framework Core.