Definition
Namespace: EntityDb.Abstractions.Leases
Assembly: EntityDb.Abstractions
Represents a single metadata property and the context in which the metadata property must be unique.
1
public interface ILease
Remarks
The transaction repository is responsible for enforcing the uniqueness constraint. If a lease needs to be unique in a global context, a constant should be used as the Scope for all instances of the lease. If a lease does not need to be unique in a global context, the entity id (or some other id which is unique to the entity) should be included in the Scope for all instances of the lease. A lease may have additional properties, but they are not directly relevant to the uniqueness constraint.