// BeginTransaction
 public void BeginTransaction(IsolationLevel isolationLevel)
 {
     try
     {
         _serverProcess.BeginTransaction(isolationLevel);
     }
     catch (Exception E)
     {
         throw WrapException(E);
     }
 }
Beispiel #2
0
        private void RegisterCoreSystemObjects()
        {
            // Creates and registers the core system objects required to compile and execute any D4 statements
            // This will only be called if this is a repository, or if this is a first-time startup for a new server

            _systemProcess.BeginTransaction(IsolationLevel.Isolated);
            try
            {
                InternalRegisterCoreSystemObjects();

                _systemProcess.CommitTransaction();
            }
            catch
            {
                _systemProcess.RollbackTransaction();
                throw;
            }
        }