public OrderExpression <T> ThenByDescending <T2>(Expression <Func <T2, object> > expression) { SqlPack += " ,"; FluentExpressionSQLProvider.OrderBy(expression.Body, SqlPack); SqlPack += " DESC"; return(this); }
public OrderExpression <T> ThenBy(Expression <Func <T, object> > expression) { SqlPack += " ,"; FluentExpressionSQLProvider.OrderBy(expression.Body, SqlPack); return(this); }
protected override SqlPack OrderBy(NewExpression expression, SqlPack sqlPack) { foreach (Expression item in expression.Arguments) { FluentExpressionSQLProvider.OrderBy(item, sqlPack); } return(sqlPack); }
protected override SqlPack OrderBy(UnaryExpression expression, SqlPack sqlPack) { FluentExpressionSQLProvider.OrderBy(expression.Operand, sqlPack); return(sqlPack); }