Table of Contents

Method CreateSampleData

Namespace
DocWright.Reporting.Viewer
Assembly
DocWright.Reporting.Viewer.dll

CreateSampleData(ReportDefinition, ReportPreviewOptions?)

Makes up a dataset for every dataset the definition declares.

public static ReportDataProvider CreateSampleData(ReportDefinition definition, ReportPreviewOptions? options)

Parameters

definition ReportDefinition

The report definition.

options ReportPreviewOptions

How many rows and of what, or null for the defaults.

Returns

ReportDataProvider

A provider over the made-up data.

Exceptions

ArgumentNullException

definition is null.