Redigeeri

Jagamisviis:


IEntityWithChangeTracker Interface

Definition

Defines an entity type that implements change tracking.

public interface class IEntityWithChangeTracker
public interface IEntityWithChangeTracker
type IEntityWithChangeTracker = interface
Public Interface IEntityWithChangeTracker
Derived

Remarks

An entity type must implement IEntityWithChangeTracker to track changes. EntityObject is the base class for all entity types that are generated by the Entity Data Model tools. EntityObject implements IEntityWithChangeTracker.

Object Services provides objects with a reference to an instance of the IEntityChangeTracker interface to enable objects to report changes. Methods on the IEntityChangeTracker are used to report changes.

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

Methods

SetChangeTracker(IEntityChangeTracker)

Gets or sets the IEntityChangeTracker used to report changes.

Applies to