Home IAddTagsCommand<TEntity> Interface
Post
Cancel

IAddTagsCommand<TEntity> Interface

Definition

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

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

1
public interface IAddTagsCommand<TEntity>

Type Parameters

TEntity
The type of the entity

Methods

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