File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Orm/Xtensive.Orm.Tests/Issues Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -160,9 +160,9 @@ public void LoopIndexExecuteDelayedTest()
160
160
List < IEnumerable < Location > > queries = new List < IEnumerable < Location > > ( ) ;
161
161
var cachedQueriesCountBefore = Domain . QueryCache . Count ;
162
162
for ( int i = 0 ; i < upperLimit ; i ++ ) {
163
- var locations = session . Query . CreateDelayedQuery ( endpoint => from location in session . Query . All < Location > ( )
163
+ var locations = session . Query . CreateDelayedQuery ( endpoint => from location in endpoint . All < Location > ( )
164
164
where location . Active && location . Id . In ( (
165
- from loc in session . Query . All < Location > ( )
165
+ from loc in endpoint . All < Location > ( )
166
166
where loc . Id > i && loc . Zone == null
167
167
orderby loc . Id
168
168
select loc . Id ) )
@@ -312,9 +312,9 @@ private void TaskSequencesGenerator(Session session)
312
312
313
313
private int GetMinimalId ( Session session , int startId )
314
314
{
315
- var locations = session . Query . CreateDelayedQuery ( endpoint => from location in session . Query . All < Location > ( )
315
+ var locations = session . Query . CreateDelayedQuery ( endpoint => from location in endpoint . All < Location > ( )
316
316
where location . Active && location . Id . In ( (
317
- from loc in session . Query . All < Location > ( )
317
+ from loc in endpoint . All < Location > ( )
318
318
where loc . Id > startId && loc . Zone == null
319
319
orderby loc . Id
320
320
select loc . Id ) )
You can’t perform that action at this time.
0 commit comments