Edit

Share via


IEntityWithChangeTracker.SetChangeTracker(IEntityChangeTracker) Method

Definition

Gets or sets the IEntityChangeTracker used to report changes.

public:
 void SetChangeTracker(System::Data::Objects::DataClasses::IEntityChangeTracker ^ changeTracker);
public void SetChangeTracker (System.Data.Objects.DataClasses.IEntityChangeTracker changeTracker);
abstract member SetChangeTracker : System.Data.Objects.DataClasses.IEntityChangeTracker -> unit
Public Sub SetChangeTracker (changeTracker As IEntityChangeTracker)

Parameters

changeTracker
IEntityChangeTracker

The IEntityChangeTracker used to report changes.

Remarks

Methods on the IEntityChangeTracker are used by EntityObject to report changes.

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

Applies to