示例#1
0
 public IList <DbTable> GetTables(DbConnection dbConnection)
 {
     return(PostgresSchemaProvider.GetDbTables((string)null, dbConnection));
 }
示例#2
0
        public DbTable GetTable(DatabaseBase database, TableBase table)
        {
            IList <DbTable> tables = PostgresSchemaProvider.GetDbTables(table.Name, database.GetConnection(false));

            return(tables.Count > 0 ? tables[0] : null);
        }