IDbContextTransaction IDbContextTransaction Interface

Definition

A transaction against the database.

Instances of this class are typically obtained from BeginTransaction() and it is not designed to be directly constructed in your application code.

public interface IDbContextTransaction : IDisposable
Public Interface IDbContextTransaction
    Inherits IDisposable

Methods

Commit() Commit()

Commits all changes made to the database in the current transaction.

void Commit()
Sub Commit

Dispose() Dispose()

Inherited from System.IDisposable

Rollback() Rollback()

Discards all changes made to the database in the current transaction.

void Rollback()
Sub Rollback