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

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