liveBook · Manning

Change tracking

Change tracking is the process of detecting or recording modifications to data, documents, entities, or other evolving state.

How 2 Manning books explain it

.NET in Action, Second Edition

Change tracking is an ORM capability that records changes to entity instances so they can be persisted to a data store.

How it is used
Supports ASP.NET Core data-access endpoints by deciding whether queried entities should remain available for persistence.
How deep it goes
Explains default tracking, property-change detection, SaveChanges translation, and query-level disabling, without detailing tracking internals.
Examples
Uses a Book title modification and a read-only CatalogController GET query with AsNoTracking.
What you can do after
Apply it via Entity Framework Core to persist edits or optimize read-only queries.

Read how .NET in Action, Second Edition explains change tracking →

ASP.NET Core in Action, 3e

Change tracking is the process of recording entity instances and detecting changes to their properties for persistence.

How it is used
Uses tracked entities to persist model changes while avoiding unnecessary column updates.
How deep it goes
Explains snapshots and comparison during SaveChanges(), but defers alternative tracking mechanisms and configuration details.
Examples
Uses a RecipeService example that loads a recipe, changes properties, and saves it asynchronously.
What you can do after
Apply it via EF Core to update only changed properties on a tracked entity.

Read how ASP.NET Core in Action, 3e explains change tracking →

Related concepts

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.