Esempio n. 1
0
        public void TransactionalFlush(IsolationLevel isolationLevel)
        {
            if (!IsInTransaction)
            {
                BeginTransaction();
            }

            try
            {
                _transaction.Commit();
            }
            catch (Exception)
            {
                _transaction.Rollback();
                throw;
            }
        }