Home IDeleteTagsCommand<TEntity> Interface
Post
Cancel

IDeleteTagsCommand<TEntity> Interface

Definition

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

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

1
public interface IDeleteTagsCommand<TEntity>

Type Parameters

TEntity
The type of the entity

Methods

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