How change tracking works in Entity Framework
When you load the entity from the context it keeps an additional data structure – let’s call it entry. The entry contains two set of values – original values and current values. When you execute the SaveChanges operation EF goes through your customer entities and updates current values in the entry so that they match … Read more