Method GetCatalogAsync
- Namespace
- ReportWright.Blazor.Designer
- Assembly
- ReportWright.Blazor.Designer.dll
GetCatalogAsync(byte[], string, string?, CancellationToken)
Describes one of the definition's data sources for the query designer: tables, columns, foreign keys.
public virtual Task<DataSourceCatalog?> GetCatalogAsync(byte[] rdl, string dataSourceName, string? path, CancellationToken cancellationToken)
Parameters
rdlbyte[]The current definition.
dataSourceNamestringThe data source.
pathstringThe report's path, for the host's permission check, or null for an unsaved report.
cancellationTokenCancellationTokenCancels the request.
Returns
- Task<DataSourceCatalog>
The catalog, or null when the host or the source's provider offers none.