Change Tracking
Learn the basics about change tracking in EF Core.
Overview
In this lesson, we’ll learn how EF Core tracks the changes we make to entities. Each DbContext
instance tracks changes through the ChangeTracker
. The ChangeTracker
resides in the Microsoft.EntityFrameworkCore.ChangeTracking
namespace and tracks the state of every entity instance retrieved with the same DbContext
instance.
The projects in this lesson include data from the table below:
Get hands-on with 1400+ tech skills courses.