Table of Contents

Method GetCatalogAsync

Namespace
ReportWright.Blazor.Server
Assembly
ReportWright.Blazor.Server.dll

GetCatalogAsync(byte[], string, string?, CancellationToken)

Describes one of the definition's data sources for the query designer: tables, columns, foreign keys.

public override Task<DataSourceCatalog?> GetCatalogAsync(byte[] rdl, string dataSourceName, string? path, CancellationToken cancellationToken)

Parameters

rdl byte[]

The current definition.

dataSourceName string

The data source.

path string

The report's path, for the host's permission check, or null for an unsaved report.

cancellationToken CancellationToken

Cancels the request.

Returns

Task<DataSourceCatalog>

The catalog, or null when the host or the source's provider offers none.

Exceptions

UnauthorizedAccessException

The user may not edit the report.