private SimpleTransaction(SimpleTransaction copy) : base(copy) { _adapter = copy._adapter; _database = copy._database; _adapterTransaction = copy._adapterTransaction; _transactionRunner = copy._transactionRunner; }
private void Begin(string name) { _adapterTransaction = _adapter.BeginTransaction(name, _isolationLevel); _transactionRunner = new TransactionRunner(_adapter, _adapterTransaction); }
private void Begin() { _adapterTransaction = _adapter.BeginTransaction(_isolationLevel); _transactionRunner = new TransactionRunner(_adapter, _adapterTransaction); }