Constructor DataPreview
- Namespace
- ReportWright.Data.Metadata
- Assembly
- ReportWright.Data.Abstractions.dll
DataPreview(string, IReadOnlyList<DataSetFieldInfo>, IReadOnlyList<IReadOnlyList<object?>>, bool)
Initializes a preview.
public DataPreview(string dataSetName, IReadOnlyList<DataSetFieldInfo> columns, IReadOnlyList<IReadOnlyList<object?>> rows, bool truncated)
Parameters
dataSetNamestringThe dataset's name.
columnsIReadOnlyList<DataSetFieldInfo>The columns, in order.
rowsIReadOnlyList<IReadOnlyList<object>>The rows, each with one value per column.
truncatedboolWhether the source had more rows than were read.
Exceptions
- ArgumentNullException
An argument is null.