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

NameDescription
System_CAPS_pubpropertyEntityState

Gets current state of a tracked object.

NameDescription
System_CAPS_pubmethodEntityComplexMemberChanged(String, Object, String)

Notifies the change tracker that a property of a complex type has changed.

System_CAPS_pubmethodEntityComplexMemberChanging(String, Object, String)

Notifies the change tracker of a pending change to a complex property.

System_CAPS_pubmethodEntityMemberChanged(String)

Notifies the change tracker that a property of an entity type has changed.

System_CAPS_pubmethodEntityMemberChanging(String)

Notifies 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 Management, and Change Tracking and Tracking Changes in POCO Entities.

.NET Framework
Available since 3.5
Return to top
Show:
© 2016 Microsoft