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

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