Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Getting the Best Out of Entity Framework Core

NDC Conferences via YouTube

Overview

Explore the inner workings of Entity Framework Core (EF Core) to optimize database access in C# applications. Gain insights into querying techniques, relationship handling, unit testing strategies, and Domain-Driven Design implementation. Discover the changes introduced in EF Core 3, including Cosmos DB integration. Learn how to write more efficient database access code by understanding EF Core's internal processes, from basic database operations to advanced concepts like relational fixup and soft delete. Dive into practical examples, including a super-simple database demonstration, various querying methods, and the SQL generated by EF Core. Enhance your skills in configuring EF Core through code and leverage ValueConversions for improved data handling.

Syllabus

Intro
Entity Framework Core in Action
A super-simple database to show how EF Core works
Three types of relationships
Three (four) ways of reading the database
A look at the Select load code
The SQL created by the Select query
A better way to set up the relationships
EF Core works out the correct order for the SQL
Understanding relational fixup
Relational fixup and hierarchical data
EF Core and Domain-Driven Design in 5 minutes
An example of a DDD-styled entity class
Alternative to Delete - soft delete
ValueConversions (came in EF Core 2.1)
Using code to configure EF Core
Using Cosmos DB to improve performance
Cosmos DB-in EF Core 3 (some limitations)
Unit testing applications that user EF Core
The end

Taught by

NDC Conferences

Reviews

Start your review of Getting the Best Out of Entity Framework Core

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.