Skip to content

BaseEntity class

Base entity.

public class BaseEntity : IEntity

Public Members

name description
BaseEntity() The default constructor.
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