Example #1
0
 protected virtual SqlExpression Visit(SqlOrderByExpression expression)
 {
     return new SqlOrderByExpression(expression.Columns.Select(x => (SqlOrderingExpression) Visit(x)));
 }
Example #2
0
 protected override SqlExpression Visit(SqlOrderByExpression expression)
 {
     sql.Append(string.Join(", ", expression.Columns.Select(FormatOrdering)));
     return expression;
 }