Interface ITransaction
- Namespace
- Foundation.Data.Doublets.Cli
- Assembly
- Foundation.Data.Doublets.Cli.dll
A live transaction handle. Disposal without commit rolls back automatically (R10).
public interface ITransaction : IDisposable
- Inherited Members
Properties
Id
Guid Id { get; }
Property Value
IsCommitted
bool IsCommitted { get; }
Property Value
IsRolledBack
bool IsRolledBack { get; }
Property Value
StartedAt
DateTimeOffset StartedAt { get; }
Property Value
Transitions
IReadOnlyList<Transition> Transitions { get; }
Property Value
Methods
Commit()
void Commit()
CommitAsync(CancellationToken)
Task CommitAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationToken
Returns
Rollback()
void Rollback()