Interface IDatabaseTransaction
Provides an interface to work with database transactions.
Namespace: Paradigm.ORM.Data.Database
Assembly: Paradigm.ORM.Data.dll
Syntax
public interface IDatabaseTransaction : IDisposable
Methods
| Improve this Doc View SourceCommit()
Commits the transaction.
Declaration
void Commit()
CommitAsync()
Commits the transaction.
Declaration
Task CommitAsync()
Returns
Type | Description |
---|---|
Task |
Rollback()
Rolls back the transaction.
Declaration
void Rollback()
RollbackAsync()
Rolls back the transaction.
Declaration
Task RollbackAsync()
Returns
Type | Description |
---|---|
Task |