System\Data\Common\Internal\Materialization\Shaper.cs (2)
309if (!ObjectStateManager.TryUpdateExistingRelationships(this.Context, this.MergeOption, associationSet, sourceMember, sourceKey, wrappedEntity, targetMember, targetKey, /*setIsLoaded*/ true, out newEntryState))
328needNewRelationship = !ObjectStateManager.TryUpdateExistingRelationships(this.Context,