3

Building Entity Models for SQL Server Using EF Core

This chapter is about managing relational data stored in SQL Server, Azure SQL Database, or Azure SQL Edge by using the higher-level object-to-data store mapping technology named Entity Framework Core (EF Core). Then, you will learn how to store entity models that use inheritance hierarchies using three different mapping strategies. Finally, you will build class libraries for a SQL Server database that will be used in code examples throughout the rest of this book.

This chapter will cover the following topics:

  • Managing SQL Server data with EF Core
  • Mapping inheritance hierarchies with EF Core
  • Building a reusable entity data model

Managing data with EF Core

EF Core is an object-relational ...

Get Apps and Services with .NET 8 - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.