I am trying to test out NReco.PivotData for in memory cubing. Our existing process is using entity framework and is able to pull the data but I can't find the right way to put it into the cube.
Tried casting the data as a list, an array, enumerable and json
var pvtData = new PivotData(
new[] { "closeDate", "opportunityName" },
new SumAggregatorFactory("amount"), true);
var allRows = (from c in newContext.MCrmOpportunity select c).AsEnumerable();
pvtData.ProcessData(allRows);
The error is on the last line.
Error CS1503 Argument 1: cannot convert from 'System.Collections.Generic.IEnumerable' to 'System.Collections.Generic.IEnumerable System.Collections.Generic.IDictionary>'