public void OpenConnectionTest() { IDatabaseSettings oSettings = new XMLDatabaseSettings(); oSettings.LoadDatabaseConfiguration(); IDatabase oDB = new SQLServer(oSettings); oDB.OpenConnection(); Assert.IsTrue(oDB.ConnectionStatus); oDB.CloseConnection(); Assert.IsFalse(oDB.ConnectionStatus); }
DynastyDatabaseConnection() { _database = this.Database; }