1 write to EntityChangeTracker
System.Data.Entity (1)
System\Data\Objects\DataClasses\EntityObject.cs (1)
145EntityChangeTracker = changeTracker;
16 references to EntityChangeTracker
System.Data.Entity (16)
System\Data\Objects\DataClasses\EntityObject.cs (16)
87Debug.Assert(EntityChangeTracker != null, 89Debug.Assert(EntityChangeTracker != s_detachedEntityChangeTracker ? EntityChangeTracker.EntityState != EntityState.Detached : true, 92return EntityChangeTracker.EntityState; 114Debug.Assert(EntityChangeTracker != null, "_entityChangeTracker should never be null -- if detached it should return s_detachedEntityChangeTracker"); 115EntityChangeTracker.EntityMemberChanging(StructuralObject.EntityKeyPropertyName); 117EntityChangeTracker.EntityMemberChanged(StructuralObject.EntityKeyPropertyName); 136if (changeTracker != null && EntityChangeTracker != s_detachedEntityChangeTracker && !Object.ReferenceEquals(changeTracker, EntityChangeTracker)) 138EntityEntry entry = EntityChangeTracker as EntityEntry; 187Debug.Assert(EntityChangeTracker != null, "_entityChangeTracker should never be null -- if detached it should return s_detachedEntityChangeTracker"); 191EntityChangeTracker.EntityMemberChanging(property); 209Debug.Assert(EntityChangeTracker != null, "EntityChangeTracker should never return null -- if detached it should be return s_detachedEntityChangeTracker"); 210EntityChangeTracker.EntityMemberChanged(property); 246EntityChangeTracker.EntityComplexMemberChanging(entityMemberName, complexObject, complexMemberName); 269EntityChangeTracker.EntityComplexMemberChanged(entityMemberName, complexObject, complexMemberName);