Is there a way to get the original Entity itself from the ChangeTracker (rather than just the original values)?
ChangeTracker
If the State is Modified<
State
Modified<
While working with EF 6 i used the following code to get the underlying POCO entity type from proxy type,
var entityType = ObjectContext.GetObjectType(dbEntitymodifiedEntry.Entity.GetType());
ObjectContext.GetObjectType : Return the POCO from proxy object
ObjectContext.GetObjectType