Home IAddLeasesCommand<TEntity> Interface
Post
Cancel

IAddLeasesCommand<TEntity> Interface

Definition

Namespace: EntityDb.Common.Commands
Assembly: EntityDb.Common

If a transaction needs to add any instances of ILease, and the properties of the leases are contained in the command and/or entity, a direct call to Add(Id, ILease[]) can be avoided by implementing this interface!

1
public interface IAddLeasesCommand<TEntity>

Type Parameters

TEntity
The type of the entity

Methods

GetLeases(TEntity, TEntity) Returns the leases that need to be added.
This post is licensed under CC BY 4.0 by the author.