IEntityWithChangeTracker.SetChangeTracker Method
Collapse the table of content
Expand the table of content

EntityObject.IEntityWithChangeTracker.SetChangeTracker Method (IEntityChangeTracker)


Specifies the instance of IEntityChangeTracker that is used to report property changes.

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

void IEntityWithChangeTracker.SetChangeTracker(
	IEntityChangeTracker changeTracker


Type: System.Data.Objects.DataClasses.IEntityChangeTracker

Reference to the change tracker that is used to report property changes.

This method is called by Object Services to specify the instance of IEntityChangeTracker for the object to use to track changes. This is typically called when the entity is added to or removed from an ObjectContext.

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