Persist and retrieve relational data by using Entity Framework Core

Beginner
Developer
ASP.NET Core
Entity Framework Core

Query and manage relational data in an Entity Framework Core (EF Core) app by using an object-relational mapper (ORM).

Learning objectives

In this module, you'll:

  • Review ORM concepts.
  • Understand EF Core architecture.
  • Write C# code to interact with a database by using EF Core.
  • Use EF Core migrations to keep the code and database in sync.
  • Use reverse engineering to generate entity models from an existing database.
  • Seed a database on app startup.

Prerequisites

  • Experience writing C# at the beginner level
  • A basic understanding of relational databases
  • Visual Studio Code
  • .NET 8.0 SDK
  • Git command-line client