Home IDeleteLeasesCommand<TEntity> Interface
Post
Cancel

IDeleteLeasesCommand<TEntity> Interface

Definition

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

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

1
public interface IDeleteLeasesCommand<TEntity>

Type Parameters

TEntity
The type of the entity

Methods

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