Entity Framework Core
Entity Framework Core
1. Introduction
The purpose of this document is to give a roadmap for Microsoft Entity Framework Core
self-training. This is a basic training to provide trainees with basic concepts of Entity
Framework Core.
For each topic, trainees are requested to read the references, do the exercises and verify
the learned knowledge by answering the review questions.
It is expected that after this self-training, trainees have a solid knowledge base of Entity
Framework Core that enables them to start working in Entity Framework Core -based
projects.
© ELCA Information Technology (Vietnam) Ltd. 2008 S84 – Self-training roadmap V 1.0/23.07.08/RJB/Valid 1 / 7
Self-training roadmap
2. Prerequisites
Trainees are required to have prior basic knowledge of database-based applications
with the .NET framework, that is, working with an SQL database, creating a connection
to it in a .NET application, doing basic CRUD (Create/Read/Update/Delete) operations
and manipulating transactions.
3. References
Ref Source
4. Training plan
NHibernate Basics
What is Entity Framework Core?
1 R Get Started with 2
Overview of Entity Framework Core - EF Core | Microsoft Learn
Entity Framework Core
Entity Framework Core Tutorials (entityframeworktutorial.net)
Installation :
Install Entity Framework Core (entityframeworktutorial.net)
Code-First:
2 R Development approach with 2
What is Code-First? (entityframeworktutorial.net)
Entity Framework/ Entity
Framework Core
(Same approach)
Understand DBContext :
3 R Entity Framework Core 4
Entity Framework Core DbContext (entityframeworktutorial.net)
DBContext and Migration
DbContext Lifetime, Configuration, and Initialization - EF Core | Microsoft Learn
1
R = Reading, E = Exercise, C = Checkpoint
Migration :
Migration in Entity Framework Core (entityframeworktutorial.net)
Models Mapping and Relationships :
4 R Models, 4
Introduction to relationships - EF Core | Microsoft Learn
Entity Mapping and Relationships:
Entity Properties - EF Core | Microsoft Learn
Fluent API in Entity Framework Core (entityframeworktutorial.net)
Configurations in Entity Framework Core (entityframeworktutorial.net)
Query:
6 R Querying Data with 4
How Queries Work - EF Core | Microsoft Learn
Entity Framework Core
Querying in Entity Framework Core (entityframeworktutorial.net)
Eager Loading of Related Data - EF Core | Microsoft Learn
Lazy Loading of Related Data - EF Core | Microsoft Learn
Execute Raw SQL Queries in Entity Framework Core
(entityframeworktutorial.net)
Modifying Data:
7 R Modifying Data with 4
Data Seeding - EF Core | Microsoft Learn
Entity Framework Core
Cascade Delete - EF Core | Microsoft Learn
Saving Related Data - EF Core | Microsoft Learn
Insert Data in Disconnected Scenario in Entity Framework Core
(entityframeworktutorial.net)
Concurrent handling :
Handling Concurrency Conflicts - EF Core | Microsoft Learn
Tracking Entity :
Change Tracking - EF Core | Microsoft Learn
ChangeTracker in Entity Framework Core (entityframeworktutorial.net)
+ Write test to verify the saving of multiple projects to achieve the data
represented by the following tree via IProjectService