DbConnector.BeginTransaction method (1 of 2)

Begins a transaction.

public abstract DbTransactionDisposer BeginTransaction()

Return Value

An IDisposable that should be disposed when the transaction has been committed or should be rolled back.

See Also


DbConnector.BeginTransaction method (2 of 2)

Begins a transaction.

public abstract DbTransactionDisposer BeginTransaction(IsolationLevel isolationLevel)
parameter description
isolationLevel The isolation level.

Return Value

An IDisposable that should be disposed when the transaction has been committed or should be rolled back.

See Also