Exemplo n.º 1
0
        /// <inheritdoc />
        protected override DbTransaction BeginDbTransaction(IsolationLevel isolationLevel)
        {
            if (_currentTransaction != null)
                throw new InvalidOperationException();

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

            _currentTransaction = new CqlBatchTransaction(this);
            return(_currentTransaction);
        }
Exemplo n.º 3
0
 internal void ClearDbTransaction()
 {
     _currentTransaction = null;
 }
Exemplo n.º 4
0
 internal void ClearDbTransaction()
 {
     _currentTransaction = null;
 }