示例#1
0
文件: Meta.cs 项目: stazz/CBAM
    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);
    }