Attaches a transaction.
public virtual DbTransactionDisposer AttachTransaction(IDbTransaction transaction)
An IDisposable that should be disposed when the transaction has been committed or should be rolled back.