This documentation is archived and is not being maintained.

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, 3.5 SP1

.NET Framework Client Profile

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.