© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
1 reply
bookuha

❔ Navigation properties internals. EFCore

How are they implemented internally?
What if I select related entity Id to 3, and the related entity navigation property to the entity with id 5? What will happen? Why?

If I set the related entity id to 5, but don’t make any changes to the related navigation property, will it get filled with an entity with id 5 at runtime? will i be able access its fields before SaveChanges? Or it will remain null
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

EFCore : multiple contraints for the same navigation property
C#CC# / help
3y ago
✅ Accessing associated records through navigation properties
C#CC# / help
10mo ago
Avoiding circular references in navigation properties
C#CC# / help
2y ago
EF Core - Intermediate table or Navigation Properties?
C#CC# / help
17mo ago