コード例 #1
0
        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);
        }
コード例 #2
0
 //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);
 }
コード例 #3
0
 protected override SqlBuilder Min(ParameterExpression expression, SqlBuilder sqlBuilder)
 {
     Expression2SqlProvider.Min(expression, sqlBuilder);
     return(sqlBuilder);
 }