Beispiel #1
0
 private bool IsRestartable()
 {
     for (int i = 0; i < this.QueryRestartPosition.Count; i++)
     {
         ScopeIDContext scopeIDContext = this.QueryRestartPosition[i];
         if (scopeIDContext.IsRowLevelRestart)
         {
             return(true);
         }
     }
     return(false);
 }
Beispiel #2
0
 public void RomBasedRestart()
 {
     for (int i = 0; i < this.m_queryRestartPosition.Count; i++)
     {
         ScopeIDContext scopeIDContext = this.m_queryRestartPosition[i];
         if (!scopeIDContext.IsRowLevelRestart && !scopeIDContext.RomBasedRestart())
         {
             throw new RenderingObjectModelException(ProcessingErrorCode.rsRombasedRestartFailed, scopeIDContext.MemberDefinition.Grouping.Name.MarkAsModelInfo());
         }
     }
     this.ClearRomRestartScopeIDs();
 }