Skip to content

Commit 9c5f79c

Browse files
committed
privaryIndex var in CreateRecordSet
1 parent 24ddd41 commit 9c5f79c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Orm/Xtensive.Orm/Orm/Internals/Prefetch/EntityGroupTask.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ internal sealed class EntityGroupTask : IEquatable<EntityGroupTask>
7373
}
7474

7575
var columnCollectionLength = privaryIndex.Columns.Count;
76-
return cachingKey.Type.Indexes.PrimaryIndex.GetQuery().Include(IncludeAlgorithm.ComplexCondition,
76+
return privaryIndex.GetQuery().Include(IncludeAlgorithm.ComplexCondition,
7777
true, context => context.GetValue(includeParameter), $"includeColumnName-{Guid.NewGuid()}",
7878
keyColumnIndexes).Filter(t => t.GetValue<bool>(columnCollectionLength)).Select(selectedColumnIndexes);
7979
};

0 commit comments

Comments
 (0)