I couldn't find good documentation on just exactly what makes Entity Framework decide to look up the correct related object when the foreign key is set.
I'm using lazy loading (but not change tracking) proxies. Setting the foreign key and then getting the navigation property value returns null, even when the related navigation object is already loaded and sitting in the DbContext.
Calling DetectChanges works but seems heavy. Is there any other way to clue in Entity Framework to do fixup?