Show / Hide Table of Contents

Interface ITransaction

Represents a series of operations that are all applied or all not applied (in the case of errors).

Namespace: Reaqtor.QueryEngine
Assembly: Reaqtor.QueryEngine.Interfaces.dll
Syntax
public interface ITransaction : IDisposable

Methods

CommitAsync(CancellationToken)

Commits the transaction.

Declaration
Task CommitAsync(CancellationToken token)
Parameters
Type Name Description
System.Threading.CancellationToken token

The token to commit operation.

Returns
Type Description
System.Threading.Tasks.Task

A task representing the eventual completion of the commit.

Rollback()

Cleans up intermediate state and partially committed data.

Declaration
void Rollback()

Extension Methods

Transaction.CommitAsync(ITransaction)
In This Article
Back to top Generated by DocFX