Skip to content

Commit

Permalink
Update explicit.md (#3894)
Browse files Browse the repository at this point in the history
Minor grammar tweaks for readability
  • Loading branch information
nbarbettini authored Jun 14, 2022
1 parent af1a4ee commit a9f1426
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entity-framework/core/querying/related-data/explicit.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ You can explicitly load a navigation property via the `DbContext.Entry(...)` API

[!code-csharp[Main](../../../../samples/core/Querying/RelatedData/Program.cs#Explicit)]

You can also explicitly load a navigation property by executing a separate query that returns the related entities. If change tracking is enabled, then when query materializes an entity, EF Core will automatically set the navigation properties of the newly loaded entity to refer to any entities already loaded, and set the navigation properties of the already-loaded entities to refer to the newly loaded entity.
You can also explicitly load a navigation property by executing a separate query that returns the related entities. If change tracking is enabled, then when a query materializes an entity, EF Core will automatically set the navigation properties of the newly-loaded entity to refer to any entities already loaded, and set the navigation properties of the already-loaded entities to refer to the newly loaded entity.

## Querying related entities

You can also get a LINQ query that represents the contents of a navigation property.

It allows you to apply other operators over the query. For example, applying an aggregate operator over the related entities without loading them into memory.
This allows you to apply other operators over the query. For example, applying an aggregate operator over the related entities without loading them into memory.

[!code-csharp[Main](../../../../samples/core/Querying/RelatedData/Program.cs#NavQueryAggregate)]

Expand Down

0 comments on commit a9f1426

Please sign in to comment.