PivotData Constructor (String, IAggregatorFactory, IDataReader, Boolean)

NReco.PivotData Class Library Documentation
Initializes a new instance of the PivotData with specified dimensions configuration, aggregator, lazy totals mode and and processes data from data reader.

Namespace:  NReco.PivotData
Assembly:  NReco.PivotData (in NReco.PivotData.dll) Version: 1.3.7
Syntax

public PivotData(
	string[] dimensions,
	IAggregatorFactory aggregator,
	IDataReader dataReader,
	bool lazyTotals
)

Parameters

dimensions
Type: SystemString
dimensions configuration (array of dimension fields)
aggregator
Type: NReco.PivotDataIAggregatorFactory
measure aggregators factory
dataReader
Type: System.DataIDataReader
data represented by IDataReader instance
lazyTotals
Type: SystemBoolean
if true totals are calculated on-the-fly when accessed for the first time
See Also

Reference