Table of Contents

Class DataSourceReference

Namespace
ReportWright.Data
Assembly
ReportWright.Data.Abstractions.dll

A data source as the report states it: what the router hands the host's DataSourceResolver to turn into a ResolvedDataSource. Nothing here is a secret — a report's connect string is authored text, often empty or a placeholder, and the host decides what it means.

public sealed class DataSourceReference
Inheritance
DataSourceReference
Inherited Members

Constructors

DataSourceReference(string?)

Initializes a reference.

Properties

ConnectString

Gets or sets the report's evaluated ConnectString, which the host may honour, map or ignore.

DataProvider

Gets or sets the report's DataProvider text: SQL, SQLAZURE, XML, or a custom value.

DataSetName

Gets or sets the name of the dataset asking.

Name

Gets the data source's name, or null.

SharedReference

Gets or sets the report's DataSourceReference: the path of a shared data source, or null.

Methods

ToString()

Returns the name and provider text.