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 snapshotshas_changes()quickly checks for any pending mutationsaccept_all_changes()resets states after successful SaveChanges
Structs§
- Change
Tracker - Tracks changes to entities within a DbContext.
- Entity
Entry - A public read-only view of a tracked entry.
- Entity
Entry View - Lightweight, type-erased view of a pending entity entry used to build
SaveChangesContextfromDbSet.entries(the real save data source). - Tracked
Entity