Skip to main content

Module tracking

Module tracking 

Source
Expand description

Change tracking �?entity state management, snapshots, and detection.

Implements EFCore’s change-tracking semantics:

  • Entity states: Detached | Added | Unchanged | Modified | Deleted
  • Property-level snapshots taken at tracking time
  • detect_changes() compares current values against snapshots
  • has_changes() quickly checks for any pending mutations
  • accept_all_changes() resets states after successful SaveChanges

Structs§

ChangeTracker
Tracks changes to entities within a DbContext.
EntityEntry
A public read-only view of a tracked entry.
EntityEntryView
Lightweight, type-erased view of a pending entity entry used to build SaveChangesContext from DbSet.entries (the real save data source).
TrackedEntity