Table of Contents

Class ReportDesignerBackend

Namespace
ReportWright.Blazor.Designer
Assembly
ReportWright.Blazor.Designer.dll

What the designer needs from its host: the report store, schema discovery for the data pane, and a viewer backend for the preview tab. Everything else runs in the component, client-side.

public abstract class ReportDesignerBackend
Inheritance
ReportDesignerBackend
Derived
Inherited Members

Constructors

ReportDesignerBackend()

Initializes the base class.

Properties

Viewer

Gets the backend the preview tab runs the in-memory definition through.

Methods

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

Discovers a dataset's fields from the source, for a definition as it stands in the designer.

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

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

GetDataSourcesAsync(string?, CancellationToken)

Lists the data sources the host offers authors, by name and kind, for the "new data source" dialog.

ListAsync(CancellationToken)

Lists the report paths the store holds.

LoadAsync(string, CancellationToken)

Loads a report's RDL bytes.

PreviewDataSetAsync(byte[], string, string?, int, CancellationToken)

Runs one of the definition's datasets and returns its first rows, for the dataset dialog.

SaveAsync(string, byte[], CancellationToken)

Saves a report's RDL bytes.

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

Tests one of the definition's data sources: connects, runs nothing.