Class DataPreview
- Namespace
- ReportWright.Data.Metadata
- Assembly
- ReportWright.Data.Abstractions.dll
A capped sample of a dataset's rows for a designer's data pane. Client-facing: column metadata and plain values (strings, numbers, booleans, dates, null) and nothing about where they came from.
public sealed class DataPreview
- Inheritance
-
DataPreview
- Inherited Members
Constructors
- DataPreview(string, IReadOnlyList<DataSetFieldInfo>, IReadOnlyList<IReadOnlyList<object?>>, bool)
Initializes a preview.
Properties
- Columns
Gets the columns, in order.
- DataSetName
Gets the dataset's name.
- Rows
Gets the rows read, each with one value per column.
- Truncated
Gets a value indicating whether the source had more rows than the cap allowed.