예제 #1
0
 public OrderExpression <T> ThenByDescending <T2>(Expression <Func <T2, object> > expression)
 {
     SqlPack += " ,";
     FluentExpressionSQLProvider.OrderBy(expression.Body, SqlPack);
     SqlPack += " DESC";
     return(this);
 }
예제 #2
0
        public OrderExpression <T> ThenBy(Expression <Func <T, object> > expression)
        {
            SqlPack += " ,";
            FluentExpressionSQLProvider.OrderBy(expression.Body, SqlPack);

            return(this);
        }
예제 #3
0
 protected override SqlPack OrderBy(NewExpression expression, SqlPack sqlPack)
 {
     foreach (Expression item in expression.Arguments)
     {
         FluentExpressionSQLProvider.OrderBy(item, sqlPack);
     }
     return(sqlPack);
 }
예제 #4
0
 protected override SqlPack OrderBy(UnaryExpression expression, SqlPack sqlPack)
 {
     FluentExpressionSQLProvider.OrderBy(expression.Operand, sqlPack);
     return(sqlPack);
 }