/// <inheritdoc />
        protected override DbTransaction BeginDbTransaction(IsolationLevel isolationLevel)
        {
            if (_currentTransaction != null)
                throw new InvalidOperationException();

            _currentTransaction = new CqlBatchTransaction(this);
            return _currentTransaction;
        }
Beispiel #2
0
        protected override DbTransaction BeginDbTransaction(IsolationLevel isolationLevel)
        {
            if (_currentTransaction != null)
            {
                throw new InvalidOperationException();
            }

            _currentTransaction = new CqlBatchTransaction(this);
            return(_currentTransaction);
        }
 internal void ClearDbTransaction()
 {
     _currentTransaction = null;
 }
Beispiel #4
0
 internal void ClearDbTransaction()
 {
     _currentTransaction = null;
 }