protected override SqlBuilder GroupBy(NewExpression expression, SqlBuilder sqlBuilder) { foreach (Expression item in expression.Arguments) { SqlProvider.GroupBy(item, sqlBuilder); } return(sqlBuilder); }
public SqlQueryable <T> GroupBy(Expression <Func <T, object> > expression) { if (expression == null) { throw new ArgumentNullException("expression", "Value cannot be null"); } SqlProvider.GroupBy(expression.Body, this._sqlBuilder); return(this); }
protected override SqlBuilder GroupBy(ParameterExpression expression, SqlBuilder sqlBuilder) { SqlProvider.GroupBy(expression, sqlBuilder); return(sqlBuilder); }
protected override SqlBuilder GroupBy(UnaryExpression expression, SqlBuilder sqlBuilder) { SqlProvider.GroupBy(expression.Operand, sqlBuilder); return(sqlBuilder); }