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.4.1
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