コード例 #1
0
        public override LinqExtender.Ast.Expression VisitOrderbyExpression(LinqExtender.Ast.OrderbyExpression expression)
        {
            WriteNewLine();
            Write(string.Format("order by {0}.{1} {2}",
                                expression.Member.DeclaringType.Name,
                                expression.Member.Name,
                                expression.Ascending ? "asc" : "desc"));
            WriteNewLine();

            return(expression);
        }
コード例 #2
0
 public virtual Expression VisitOrderbyExpression(OrderbyExpression expression)
 {
     return expression;
 }
コード例 #3
0
 public virtual Ast.Expression VisitOrderbyExpression(Ast.OrderbyExpression expression)
 {
     return(expression);
 }