EntityFramework.Docs icon indicating copy to clipboard operation
EntityFramework.Docs copied to clipboard

Clarify append-only semantics and short-lived context lifetimes

Open zanate4019 opened this issue 7 years ago • 0 comments

This issue tracker is for documentation

For product issues, use https://github.com/aspnet/EntityFramework/issues

Relating to your tip "Entity Framework Core will automatically fix-up navigation properties to any other entities that were previously loaded into the context instance. So even if you don't explicitly include the data for a navigation property, the property may still be populated if some or all of the related entities were previously loaded."

How do I ensure that a query retrieves a navigation property from the database even if it is already loaded into the context instance?

zanate4019 avatar Mar 06 '19 23:03 zanate4019