Beispiel #1
0
    public static async Task <List <SchemaMetadata> > GetSchemaMetadataAsync(this DatabaseMetadata md, String schemaNamePattern = null)
    {
        var list = new List <SchemaMetadata>();
        await md.PrepareSchemaSearch(schemaNamePattern).EnumerateAsync(async schema => list.Add(await md.ExtractSchemaAsync((SQLDataRow)schema)));

        return(list);
    }