internal string GetChunkNameModifier(SubReportInfo subReportInfo, bool useCachedValue, bool addEntry, out bool isShared) { if (!useCachedValue || !m_dataChunkNameModifier.HasValue) { if (!useCachedValue) { m_isInstanceShared = null; } m_dataChunkNameModifier = subReportInfo.GetChunkNameModifierForParamValues(m_parameters, addEntry, ref m_isInstanceShared, out m_parameters); } isShared = m_isInstanceShared.Value; return(m_dataChunkNameModifier.Value.ToString(CultureInfo.InvariantCulture)); }
internal void UpdateSubReportEventSourceGlobalDataSetIds(SubReportInfo subReportInfo) { m_odpSubReportInfo = subReportInfo; if (m_report == null || m_report.EventSources == null) { return; } int count = m_report.EventSources.Count; for (int i = 0; i < count; i++) { IInScopeEventSource inScopeEventSource = m_report.EventSources[i]; if (inScopeEventSource.UserSort != null && -1 != subReportInfo.UserSortDataSetGlobalId) { inScopeEventSource.UserSort.SubReportDataSetGlobalId = subReportInfo.UserSortDataSetGlobalId; } } }