Constructor DataSourceCatalog
- Namespace
- ReportWright.Data.Metadata
- Assembly
- ReportWright.Data.Abstractions.dll
DataSourceCatalog(string, CatalogDialect, IReadOnlyList<CatalogTable>, IReadOnlyList<CatalogRelationship>, bool)
Initializes the catalog.
public DataSourceCatalog(string dataSourceName, CatalogDialect dialect, IReadOnlyList<CatalogTable> tables, IReadOnlyList<CatalogRelationship> relationships, bool truncated)
Parameters
dataSourceNamestringThe data source.
dialectCatalogDialectWhat its queries are written in.
tablesIReadOnlyList<CatalogTable>The tables.
relationshipsIReadOnlyList<CatalogRelationship>The relationships between them.
truncatedboolWhether the source had more tables than the catalog lists.