public Table() { switch (Server.ProviderType) { case DataProviderType.SqlClient: _strategy = new ColumnStrategySQLServer(); break; case DataProviderType.MySql: _strategy = new ColumnStrategyMySQL(); break; case DataProviderType.PostgresSql: _strategy = new ColumnStrategyPostgres(); break; case DataProviderType.Oracle: _strategy = new ColumnStrategyOracle(); break; } }
public Table() { if(Server.ProviderType == DataProviderType.MSSQL) { _strategy = new ColumnStrategySQLServer(); } else if(Server.ProviderType == DataProviderType.MySql) { _strategy = new ColumnStrategyMySQL(); } else if(Server.ProviderType == DataProviderType.PostgresSql) { _strategy = new ColumnStrategyPostgres(); } else if(Server.ProviderType == DataProviderType.Oracle) { _strategy = new ColumnStrategyOracle(); } }
public Table() { if (Server.ProviderType == DataProviderType.MSSQL) { _strategy = new ColumnStrategySQLServer(); } else if (Server.ProviderType == DataProviderType.MySql) { _strategy = new ColumnStrategyMySQL(); } else if (Server.ProviderType == DataProviderType.PostgresSql) { _strategy = new ColumnStrategyPostgres(); } else if (Server.ProviderType == DataProviderType.Oracle) { _strategy = new ColumnStrategyOracle(); } }
public Table() { switch (Server.ProviderType) { case DataProviderType.SqlClient: _strategy = new ColumnStrategySQLServer(); break; case DataProviderType.MySql: _strategy = new ColumnStrategyMySQL(); break; case DataProviderType.PostgresSql: _strategy = new ColumnStrategyPostgres(); break; case DataProviderType.Oracle: _strategy = new ColumnStrategyOracle(); break; } }