Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IEntityChangeTracker Interface

IEntityChangeTracker Interface

Defines the facilities that are used by Object Services to track changes that are made to the properties of an object.

Namespace:  System.Data.Objects.DataClasses
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public interface IEntityChangeTracker

The IEntityChangeTracker type exposes the following members.

Public propertyEntityStateGets current state of a tracked object.

Public methodEntityComplexMemberChangedNotifies the change tracker that a property of a complex type has changed.
Public methodEntityComplexMemberChangingNotifies the change tracker of a pending change to a complex property.
Public methodEntityMemberChangedNotifies the change tracker that a property of an entity type has changed.
Public methodEntityMemberChangingNotifies the change tracker of a pending change to a property of an entity type.

EntityObject and ComplexObject are the base classes for entity types and complex types generated by the Entity Data Model tools. Both base classes use IEntityChangeTracker to report property changes.

For more information, see Identity Resolution, State Managment, and Change Tracking and Tracking Changes in POCO Entities.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1

.NET Framework Client Profile

Supported in: 4
© 2015 Microsoft