コード例 #1
0
 public IGroupByList Raw(params string[] rawSql)
 {
     foreach (string sql in rawSql)
     {
         GroupBy expression = new GroupBy(sql)
         {
             IsRaw      = true,
             TableAlias = string.Empty,
         };
         this.Append(expression);
     }
     return(this);
 }
コード例 #2
0
 public IGroupByList Append(bool copyToColumns = false, params string[] columns)
 {
     foreach (string column in columns)
     {
         GroupBy expression = new GroupBy(column)
         {
             IsRaw      = false,
             TableAlias = this.TableAlias,
         };
         this.Append(expression, copyToColumns);
     }
     return(this);
 }