Class DataSourceResolver
- Namespace
- ReportWright.Data
- Assembly
- ReportWright.Data.Abstractions.dll
Turns a data source as a report states it into one a provider can connect to. The host implements this; it is where connection strings and credentials live, and the only place they are read.
public abstract class DataSourceResolver
- Inheritance
-
DataSourceResolver
- Derived
- Inherited Members
Remarks
An abstract class rather than an interface, for the reason DocWright's own seams give: a member can be added in a later version without breaking a host's implementation, which an interface on netstandard2.0 cannot do.
Constructors
- DataSourceResolver()
Initializes the base class.
Properties
- Available
Gets the data sources this host offers report authors, by name and kind and never with a secret, for a designer's "new data source" list. Empty by default: a resolver that resolves names dynamically lists nothing and an author types the name.
Methods
- Resolve(DataSourceReference)
Resolves a data source.