Esempio n. 1
0
            protected internal override Node VisitOrderBySqlExpression([NotNull] OrderBySqlExpression node)
            {
                this.Visit(node.Expression);

                this.Builder.Append(" " + (node.Ascending ? "ASC" : "DESC"));

                return(node);
            }
Esempio n. 2
0
 /// <summary>
 /// Visits a <see cref="OrderBySqlExpression"/>.
 /// </summary>
 /// <param name="node">
 /// The node.
 /// </param>
 /// <returns>
 /// The node, or a new version of the node.
 /// </returns>
 protected internal virtual Node VisitOrderBySqlExpression([NotNull] OrderBySqlExpression node)
 {
     return(node.VisitChildren(this));
 }
Esempio n. 3
0
 /// <summary>
 /// Visits a <see cref="OrderBySqlExpression"/>.
 /// </summary>
 /// <param name="node">
 /// The node.
 /// </param>
 /// <returns>
 /// The node, or a new version of the node.
 /// </returns>
 protected internal override Node VisitOrderBySqlExpression(OrderBySqlExpression node)
 {
     return(this.VisitImplementation(node) ?? base.VisitOrderBySqlExpression(node));
 }