public Database() { if(Server.ProviderType == DataProviderType.MSSQL) { _strategy = new TableStrategySQLServer(); } else if(Server.ProviderType == DataProviderType.MySql) { _strategy = new TableStrategyMySQL(); } else if(Server.ProviderType == DataProviderType.PostgresSql) { _strategy = new TableStrategyPostgres(); } else if (Server.ProviderType == DataProviderType.Oracle) { _strategy = new TableStrategyOracle(); } }
public Database() { if (Server.ProviderType == DataProviderType.SqlClient) { _strategy = new TableStrategySQLServer(); } else if (Server.ProviderType == DataProviderType.MySql) { _strategy = new TableStrategyMySQL(); } else if (Server.ProviderType == DataProviderType.PostgresSql) { _strategy = new TableStrategyPostgres(); } else if (Server.ProviderType == DataProviderType.Oracle) { _strategy = new TableStrategyOracle(); } }