We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b89699 commit cc161d6Copy full SHA for cc161d6
Orm/Xtensive.Orm/Orm/Internals/EntitySetState.cs
@@ -291,9 +291,6 @@ internal bool ShouldUseForcePrefetch(Guid? currentPrefetchOperation)
291
292
lastManualPrefetchId = currentPrefetchOperation.Value;
293
}
294
- if (isDisconnected) {
295
- return true;
296
- }
297
298
if (Session.Transaction != null) {
299
switch (Session.Transaction.Outermost.IsolationLevel) {
@@ -307,6 +304,10 @@ internal bool ShouldUseForcePrefetch(Guid? currentPrefetchOperation)
307
304
308
305
309
306
+ if (isDisconnected) {
+ return true;
+ }
310
+
311
return false;
312
313
0 commit comments