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