public string Render(SelectQuery selectQuery, DatabaseType databaseType) { ISqlRenderer renderer; switch (databaseType) { case DatabaseType.SqlServer: case DatabaseType.SqlServerCompact: renderer = new SqlServerRenderer(); break; default: renderer = new PostgresqlRenderer(); break; } return renderer.Render(selectQuery); }
public void TearDown() { _renderer = null; }
public void SetUp() { _renderer = new PostgresqlRenderer(); }