File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Orm/Xtensive.Orm/Orm/Internals/Prefetch/Nodes Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1- // Copyright (C) 2012 Xtensive LLC.
2- // All rights reserved .
3- // For conditions of distribution and use, see license .
1+ // Copyright (C) 2012-2021 Xtensive LLC.
2+ // This code is distributed under MIT license terms .
3+ // See the License.txt file in the project root for more information .
44// Created by: Denis Krjuchkov
55// Created: 2012.02.24
66
@@ -63,7 +63,7 @@ protected override Expression VisitMethodCall(MethodCallExpression call)
6363 // All lambdas will be associated with single parent.
6464 call = ( MethodCallExpression ) source ;
6565 ValidateMethodCall ( call ) ;
66- source = call . Arguments [ 0 ] ;
66+ source = call . Arguments [ 0 ] . StripCasts ( ) ;
6767 var lambda = call . Arguments [ 1 ] . StripQuotes ( ) ;
6868 subprefetches . Add ( lambda ) ;
6969 }
You can’t perform that action at this time.
0 commit comments