A tracking snapshot stores the property values of an entity when EF Core loads it. When SaveChangesAsync runs, EF Core compares the current entity with that snapshot. section 12.4.4
The comparison determines the database update:
- Changed properties are included in the generated UPDATE statement. section 12.4.4
- Unchanged properties are ignored, avoiding unnecessary column writes. section 12.4.4
- The normal workflow reads a tracked entity, changes its properties, and calls SaveChangesAsync(). section 12.4.4
Figure 12.14 Updating an entity involves three steps: read the entity using EF Core, update the properties of the entity, and call SaveChangesAsync() on the DbContext to generate the SQL to update the correct rows in the database.
Follow the three-step update flow from reading an entity through generating SQL for the correct rows. section 12.4.4










