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); }
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); }