Interface IEntityTrack
The IEntityTrack interface acts as a contract to be implemented by classes or structs, typically used by entities that require state change tracking.
public interface IEntityTrack
Properties
- HasChanges
Gets a value indicating whether the entity has any changes. This property is read-only and can only be accessed but not set from outside the implementing class.
- TrackChanges
Gets or sets a value determining whether changes to the entity should be tracked. This property can be both accessed and set from outside the implementing class, allowing external control over whether the entity tracks changes.