Begins a transaction.
public abstract DbTransactionDisposer BeginTransaction()
An IDisposable that should be disposed when the transaction has been committed or should be rolled back.
Begins a transaction.
public abstract DbTransactionDisposer BeginTransaction(IsolationLevel isolationLevel)
parameter | description |
---|---|
isolationLevel | The isolation level. |
An IDisposable that should be disposed when the transaction has been committed or should be rolled back.