public virtual void AddRange(GroupByTermCollection items)
 {
     foreach (GroupByTerm term in items)
     {
         base.List.Add(term);
     }
 }
 public GroupByTermCollection(GroupByTermCollection items)
 {
     this.AddRange(items);
 }
Пример #3
0
 protected virtual void GroupByTerms(StringBuilder builder, GroupByTermCollection groupByTerms)
 {
     foreach (SkyMap.Net.SqlOM.GroupByTerm term in groupByTerms)
     {
         if (term != groupByTerms[0])
         {
             builder.Append(", ");
         }
         this.GroupByTerm(builder, term);
     }
 }
 public Enumerator(GroupByTermCollection collection)
 {
     this.wrapped = collection.GetEnumerator();
 }
Пример #5
0
 protected virtual void GroupBy(StringBuilder builder, GroupByTermCollection groupByTerms)
 {
     if (groupByTerms.Count > 0)
     {
         builder.Append(" group by ");
     }
 }