예제 #1
0
        public DeveelSqlTransaction BeginTransaction()
        {
            if (currentTransaction != null)
                throw new InvalidOperationException("A transaction is already open.");

            currentTransaction = new DeveelSqlTransaction(this);
            return currentTransaction;
        }
예제 #2
0
 internal void ClearTransaction()
 {
     currentTransaction = null;
 }