liveBook · Manning

Entity Framework Core

Also called EF Core

Entity Framework Core is a cross-platform object-relational mapper for .NET that enables applications to work with databases through .NET objects and queries.

How 4 Manning books explain it

ASP.NET Core in Action, 3e

Entity Framework Core is a cross-platform .NET object-relational mapper for working with relational and some nonrelational databases through .NET types and queries.

How it is used
Provides database access for an ASP.NET Core recipe API while keeping data access in a service layer.
How deep it goes
Explains setup, migrations, and entity updates through a working example, while deferring relationship updates and deeper production guidance.
Examples
Uses a recipe API with SQLite or LocalDB to illustrate provider setup, schema migrations, and recipe updates.
What you can do after
Apply EF Core to connect an ASP.NET Core application to a database, manage schema changes, and query or save entities.

Read how ASP.NET Core in Action, 3e explains Entity Framework Core →

Pro ASP.NET Core 7, Tenth Edition

Entity Framework Core is a .NET object-relational mapping library that maps relational database data to .NET objects.

How it is used
Provides relational database access for ASP.NET Core endpoints and application data.
How deep it goes
Works through package installation, context configuration, migrations, querying, writes, and observable SQL; does not attempt exhaustive framework coverage.
Examples
Uses a stored-calculation endpoint, SQL command logs, application setup listings, and a Blazor component that repeats queries.
What you can do after
Apply it via EF Core to configure SQL Server access, query and store data, and diagnose unnecessary database queries.

Read how Pro ASP.NET Core 7, Tenth Edition explains Entity Framework Core →

.NET in Action, Second Edition

Entity Framework Core is a .NET object-relational mapping framework for accessing data stores.

How it is used
Maps .NET entities to stored data for CRUD APIs and repository-backed services.
How deep it goes
Works through entity keys, DbContext configuration, saving, and LINQ queries while contrasting the abstraction with hand-written SQL.
Examples
Builds a book-catalog console application and uses a comic-metadata repository in integration tests.
What you can do after
Build it from scratch: configure a context, save and query entities, then use them in an ASP.NET Core CRUD API.

Read how .NET in Action, Second Edition explains Entity Framework Core →

Building Web APIs with ASP.NET Core

Entity Framework Core is a cross-platform object-relational mapper for .NET that enables applications to work with databases using .NET objects.

How it is used
Replaces fake API data with persistent relational storage accessed through .NET objects and ORM techniques.
How deep it goes
Explains ORM use, models, contexts, connection strings, migrations, and CRUD, while assuming basic DML knowledge.
Examples
Uses a MyBGList web API, SQL Server Express, SSMS, entity classes, ApplicationDbContext, Secret Manager, and migrations.
What you can do after
Build and operate a database-backed ASP.NET Core API using entities, ApplicationDbContext, LINQ, CRUD operations, and migrations.

Read how Building Web APIs with ASP.NET Core explains Entity Framework Core →

Also covered in

What to know first

Related concepts

Questions about Entity Framework Core

What is Entity Framework Core?

Entity Framework Core is a cross-platform object-relational mapper for .NET that enables applications to work with databases through .NET objects and queries.

Which Manning books explain Entity Framework Core?

ASP.NET Core in Action, 3e, Pro ASP.NET Core 7, Tenth Edition, .NET in Action, Second Edition and Building Web APIs with ASP.NET Core.

What should I know before learning Entity Framework Core?

Manning books that teach Entity Framework Core usually introduce SQL, NoSQL database, abstraction and object-relational mapper first.

What is Entity Framework Core a kind of?

Entity Framework Core is a kind of object-relational mapper. An object-relational mapper is software that maps between programming-language objects and operations and relational database structures and operations.

What is Entity Framework Core also called?

Entity Framework Core is also called EF Core.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.