How does EF Core detect changes in entity properties?
EF Core tracks changes via:
- Snapshot change tracking: EF stores a snapshot of original values when entities
are loaded, and compares them before saving.
- Notifications: If your entities implement INotifyPropertyChanged, EF can track
changes immediately.
EF compares the current values to the original snapshot during SaveChanges().