EntityObject.IEntityWithChangeTracker.SetChangeTracker(IEntityChangeTracker) EntityObject.IEntityWithChangeTracker.SetChangeTracker(IEntityChangeTracker) EntityObject.IEntityWithChangeTracker.SetChangeTracker(IEntityChangeTracker) Method

Definition

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

 virtual void System.Data.Objects.DataClasses.IEntityWithChangeTracker.SetChangeTracker(System::Data::Objects::DataClasses::IEntityChangeTracker ^ changeTracker) = System::Data::Objects::DataClasses::IEntityWithChangeTracker::SetChangeTracker;
void IEntityWithChangeTracker.SetChangeTracker (System.Data.Objects.DataClasses.IEntityChangeTracker changeTracker);
Sub SetChangeTracker (changeTracker As IEntityChangeTracker) Implements IEntityWithChangeTracker.SetChangeTracker
Parameters
changeTracker
IEntityChangeTracker IEntityChangeTracker IEntityChangeTracker

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

Implements

Remarks

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.

Applies to

See Also