Show / Hide Table of Contents

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 Source

Commit()

Commits the transaction.

Declaration
void Commit()
| Improve this Doc View Source

CommitAsync()

Commits the transaction.

Declaration
Task CommitAsync()
Returns
Type Description
Task
| Improve this Doc View Source

Rollback()

Rolls back the transaction.

Declaration
void Rollback()
| Improve this Doc View Source

RollbackAsync()

Rolls back the transaction.

Declaration
Task RollbackAsync()
Returns
Type Description
Task

Extension Methods

ObjectExtensions.ThrowIfFails<TException>(Object, Action, String)
ObjectExtensions.ThrowIfFails<TException, TResult>(Object, Func<TResult>, String)
ObjectExtensions.ThrowIfFailsAsync<TException>(Object, Func<Task>, String)
ObjectExtensions.ThrowIfFailsAsync<TException, TResult>(Object, Func<Task<TResult>>, String)
  • Improve this Doc
  • View Source
Powered by MiracleDevs ©2017. Code licensed under the MIT License.
Documentation generated by DocFX.