internal override IRecordRowReader CreateSequentialDataReader(Microsoft.ReportingServices.ReportIntermediateFormat.DataSet dataSet, out Microsoft.ReportingServices.ReportIntermediateFormat.DataSetInstance dataSetInstance) { Microsoft.ReportingServices.ReportIntermediateFormat.ReportInstance currentReportInstance = m_odpContext.CurrentReportInstance; dataSetInstance = currentReportInstance.GetDataSetInstance(dataSet, m_odpContext); Microsoft.ReportingServices.ReportIntermediateFormat.Persistence.ChunkManager.DataChunkReader dataChunkReader = null; if (!dataSetInstance.NoRows) { dataChunkReader = new Microsoft.ReportingServices.ReportIntermediateFormat.Persistence.ChunkManager.DataChunkReader(dataSetInstance, m_odpContext, dataSetInstance.DataChunkName); RegisterDisposableDataReaderOrIdcDataManager(dataChunkReader); } return(dataChunkReader); }
private void InitDataSet(Microsoft.ReportingServices.ReportIntermediateFormat.ReportInstance reportInstance, Microsoft.ReportingServices.ReportIntermediateFormat.DataSet dataSet, ref int dataSetCount) { DataSetInstance dataSetInstance = null; if (reportInstance != null) { dataSetInstance = reportInstance.GetDataSetInstance(dataSet, m_odpContext); } m_dataSets.AddOrUpdate(dataSet, dataSetInstance, m_odpContext.ExecutionTime); if (!dataSet.UsedOnlyInParameters) { dataSetCount++; } }