Home ILease Interface
Post
Cancel

ILease Interface

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.

Properties

Scope The context in which the metadata property must be unique.
Label The name of the metadata property.
Value The value of the metadata property.
This post is licensed under CC BY 4.0 by the author.