File tree Expand file tree Collapse file tree
Orm/Xtensive.Orm/Orm/Providers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -450,7 +450,7 @@ public void Visit(SqlSelect node)
450450 rootSelect . Comment = SqlComment . Join ( rootSelect . Comment , node . Comment ) ;
451451 node . Comment = null ;
452452 }
453-
453+
454454 var addOrderBy = hasPaging
455455 && node . OrderBy . Count == 0
456456 && providerInfo . Supports ( ProviderFeatures . PagingRequiresOrderBy ) ;
@@ -530,13 +530,6 @@ public void Visit(SqlExpression sqlExpression)
530530 sqlExpression . AcceptVisitor ( this ) ;
531531 }
532532
533- public void VisitNullable ( SqlExpression sqlExpression )
534- {
535- if ( sqlExpression is not null ) {
536- Visit ( sqlExpression ) ;
537- }
538- }
539-
540533 public void Visit ( SqlStatement sqlStatement )
541534 {
542535 sqlStatement . AcceptVisitor ( this ) ;
@@ -547,6 +540,13 @@ public void Visit(SqlTable sqlTable)
547540 sqlTable . AcceptVisitor ( this ) ;
548541 }
549542
543+ private void VisitNullable ( SqlExpression sqlExpression )
544+ {
545+ if ( sqlExpression is not null ) {
546+ Visit ( sqlExpression ) ;
547+ }
548+ }
549+
550550 private void Visit ( ISqlQueryExpression queryExpression )
551551 {
552552 queryExpression . AcceptVisitor ( this ) ;
@@ -567,9 +567,9 @@ private void Visit(SqlHint sqlExpression)
567567
568568 public void Visit ( SqlComment comment )
569569 {
570-
570+
571571 }
572-
572+
573573 public static void Process ( SqlSelect select , ProviderInfo providerInfo )
574574 {
575575 ArgumentValidator . EnsureArgumentNotNull ( select , "select" ) ;
You can’t perform that action at this time.
0 commit comments