private NonStructuralIdcDataManager CreateNonStructuralIdcDataManager(string scopeName, Microsoft.ReportingServices.ReportIntermediateFormat.DataSet targetDataSet) { if (!DataScopeInfo.TryGetInnermostParentScopeRelatedToTargetDataSet(targetDataSet, m_lastRIFObject, out IRIFReportDataScope targetScope)) { throw new ReportProcessingException_InvalidScopeReference(scopeName); } NonStructuralIdcDataManager nonStructuralIdcDataManager = new NonStructuralIdcDataManager(m_odpContext, targetDataSet, targetScope); RegisterDisposableDataReaderOrIdcDataManager(nonStructuralIdcDataManager); AddNonStructuralIdcDataManager(targetDataSet, nonStructuralIdcDataManager); return(nonStructuralIdcDataManager); }
private NonStructuralIdcDataManager CreateNonStructuralIdcDataManager(string scopeName, AspNetCore.ReportingServices.ReportIntermediateFormat.DataSet targetDataSet) { IRIFReportDataScope sourceDataScope = default(IRIFReportDataScope); if (!DataScopeInfo.TryGetInnermostParentScopeRelatedToTargetDataSet(targetDataSet, this.m_lastRIFObject, out sourceDataScope)) { throw new ReportProcessingException_InvalidScopeReference(scopeName); } NonStructuralIdcDataManager nonStructuralIdcDataManager = new NonStructuralIdcDataManager(base.m_odpContext, targetDataSet, sourceDataScope); base.RegisterDisposableDataReaderOrIdcDataManager(nonStructuralIdcDataManager); base.AddNonStructuralIdcDataManager(targetDataSet, nonStructuralIdcDataManager); return(nonStructuralIdcDataManager); }