public IList <DbTable> GetTables(DbConnection dbConnection) { return(PostgresSchemaProvider.GetDbTables((string)null, dbConnection)); }
public DbTable GetTable(DatabaseBase database, TableBase table) { IList <DbTable> tables = PostgresSchemaProvider.GetDbTables(table.Name, database.GetConnection(false)); return(tables.Count > 0 ? tables[0] : null); }