Ejemplo n.º 1
0
 protected internal virtual void AppendGroupBy(Net.Vpc.Upa.Impl.Uql.Compiledexpression.CompiledSelect o, System.Text.StringBuilder sb, Net.Vpc.Upa.Persistence.EntityExecutionContext context, Net.Vpc.Upa.Impl.Persistence.SQLManager sqlManager, Net.Vpc.Upa.Impl.Uql.ExpressionDeclarationList declarations)
 {
     if (o.CountGroupByItems() > 0)
     {
         sb.Append(" ");
         int max = o.CountGroupByItems();
         sb.Append("Group By ");
         for (int i = 0; i < max; i++)
         {
             if (i > 0)
             {
                 sb.Append(", ");
             }
             sb.Append(sqlManager.GetSQL(o.GetGroupBy(i), context, declarations));
         }
     }
 }