public void ConnectToOracle(string serverName, string userName, string password) { _database = new Oracle(); _database.Connect(serverName, userName, password); }
public void ConnectToMssql(string serverName, string userName, string password, int connectionTimeout) { _database = new MSSql(); _database.Connect(serverName, userName, password, connectionTimeout); }