Home ISingleEntityTransactionBuilder<TEntity> Interface
Post
Cancel

ISingleEntityTransactionBuilder<TEntity> Interface

Definition

Namespace: EntityDb.Abstractions.Transactions.Builders
Assembly: EntityDb.Abstractions

A transaction builder for a single entity.

1
public interface ISingleEntityTransactionBuilder<TEntity>

Type Parameters

TEntity
The type of the entity.

Properties

EntityId The id used for all transaction builder methods, where applicable.

Methods

GetEntity() Returns a TEntity, if it is known.
IsEntityKnown() Indicates whether or not a TEntity is in memory (i.e., created or loaded).
Load(TEntity) Associate a TEntity.
Append(Object) Adds a transaction step that appends a single command.
Add(ILease[]) Adds a transaction step that adds a set of ILeases.
Add(ITag[]) Adds a transaction step that adds a set of ITags.
Delete(ILease[]) Adds a transaction step that deletes a set of ILeases.
Delete(ITag[]) Adds a transaction step that deletes a set of ITags.
Build(Id) Returns a new instance of ITransaction.
This post is licensed under CC BY 4.0 by the author.