Skip to content

IEntity interface

Entity interface. Implemented by all entity classes.

public interface IEntity

Members

name description
ConcurrencyToken { get; set; } Concurrency tokens are used to implement optimistic concurrency control: at each update or delete operation, the token value on the database is compared with the value on the entity. If values match, the operation is executed. If the values do not match, another user is assumed to have performed a write operation in the meantime, and the update is rejected.
Id { get; set; } Unique id.

See Also