Table of Contents

Class DataSetRows

Namespace
ReportWright.Data.Metadata
Assembly
ReportWright.Data.Abstractions.dll

A dataset's rows as they travel to a client that runs the engine itself — a WebAssembly viewer, whose browser cannot make a synchronous request while the engine asks for data, so every dataset is fetched first. Columns carry CLR type names and nullability; values are plain (strings, numbers, booleans, ISO dates, null) and are typed again on arrival with TypeFromName(string?).

public sealed class DataSetRows
Inheritance
DataSetRows
Inherited Members

Constructors

DataSetRows(string, IReadOnlyList<DataSetFieldInfo>, IReadOnlyList<IReadOnlyList<object?>>)

Initializes the rows.

Properties

Columns

Gets the columns, in order.

DataSetName

Gets the dataset's name.

Rows

Gets the rows, each with one value per column.

Methods

FromReader(string, ReportDataReader, CancellationToken)

Reads a reader to its end. The reader's own guard caps what this can hold.

TypeFromName(string?)

Maps a column's CLR type name back to the type, the inverse of TypeName.