IEntityWithChangeTracker Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Pripomienky
https://aka.ms/ContentUserFeedback.
Pripravujeme: V priebehu roka 2024 postupne zrušíme službu Problémy v službe GitHub ako mechanizmus pripomienok týkajúcich sa obsahu a nahradíme ju novým systémom pripomienok. Ďalšie informácie nájdete na stránke:Odoslať a zobraziť pripomienky pre