public ExpressionToSql <T> Min(Expression <Func <T, object> > expression) { if (expression == null) { throw new ArgumentNullException("expression", "Value cannot be null"); } this.Clear(); Expression2SqlProvider.Min(expression.Body, this._sqlBuilder); return(this); }
//protected override SqlBuilder Take(UnaryExpression expression, SqlBuilder sqlBuilder) //{ // Expression2SqlProvider.Take(expression, sqlBuilder); // return sqlBuilder; //} protected override SqlBuilder Min(UnaryExpression expression, SqlBuilder sqlBuilder) { Expression2SqlProvider.Min(expression.Operand, sqlBuilder); return(sqlBuilder); }
protected override SqlBuilder Min(ParameterExpression expression, SqlBuilder sqlBuilder) { Expression2SqlProvider.Min(expression, sqlBuilder); return(sqlBuilder); }