Beispiel #1
0
        /// <summary> Start the temporary Db4o server file</summary>
        public void StartServer()
        {
            int       port;
            Exception e;

            ServerRunning = Db4OServerInfo.StartServer(ProjectName, out port, out e);
            Port          = port;
            Exception     = e;
            Assert.IsTrue(ServerRunning);
        }
Beispiel #2
0
 /// <summary> Stop the temporary d4o server file</summary>
 public void StopServer()
 {
     Assert.IsTrue(Db4OServerInfo.StopServer(ProjectName));
     ServerRunning = false;
 }