Beispiel #1
0
 public SqlQueryable <T> Min(Expression <Func <T, object> > expression)
 {
     if (expression == null)
     {
         throw new ArgumentNullException("min expression", "Value cannot be null");
     }
     this._sqlBuilder.SetSqlCommandType(SqlCommandType.Calculate);
     this.Clear();
     SqlProvider.Min(expression.Body, this._sqlBuilder);
     return(this);
 }
 protected override SqlBuilder Min(ParameterExpression expression, SqlBuilder sqlBuilder)
 {
     SqlProvider.Min(expression, sqlBuilder);
     return(sqlBuilder);
 }
Beispiel #3
0
 protected override SqlBuilder Min(UnaryExpression expression, SqlBuilder sqlBuilder)
 {
     SqlProvider.Min(expression.Operand, sqlBuilder);
     return(sqlBuilder);
 }