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