Table of Contents

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

dataSetName string

The dataset's name.

columns IReadOnlyList<DataSetFieldInfo>

The columns, in order.

rows IReadOnlyList<IReadOnlyList<object>>

The rows, each with one value per column.

truncated bool

Whether the source had more rows than were read.

Exceptions

ArgumentNullException

An argument is null.