コード例 #1
0
 protected override SqlBuilder GroupBy(NewExpression expression, SqlBuilder sqlBuilder)
 {
     foreach (Expression item in expression.Arguments)
     {
         SqlProvider.GroupBy(item, sqlBuilder);
     }
     return(sqlBuilder);
 }
コード例 #2
0
        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);
        }
コード例 #3
0
 protected override SqlBuilder GroupBy(ParameterExpression expression, SqlBuilder sqlBuilder)
 {
     SqlProvider.GroupBy(expression, sqlBuilder);
     return(sqlBuilder);
 }
コード例 #4
0
 protected override SqlBuilder GroupBy(UnaryExpression expression, SqlBuilder sqlBuilder)
 {
     SqlProvider.GroupBy(expression.Operand, sqlBuilder);
     return(sqlBuilder);
 }