/// <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); }
/// <summary> Stop the temporary d4o server file</summary> public void StopServer() { Assert.IsTrue(Db4OServerInfo.StopServer(ProjectName)); ServerRunning = false; }