Interface ITransaction
Represents a database transaction.
Inherited Members
System.IDisposable.Dispose()
Namespace: DevZest.Data
Assembly: DevZest.Data.dll
Syntax
public interface ITransaction : IDisposable
Properties
Name | Description |
---|---|
Level | Gets the level of nested transactions. |
Name | Gets the name of the transaction. |
Methods
Name | Description |
---|---|
CommitAsync(CancellationToken) | Commits the transaction. |
RollbackAsync(CancellationToken) | Rollback the transaction. |