We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is the use of ThenInclude required? I can also just call .Include(e => e.Related1.SubRelated2) to do it all in one step. What's the difference?
ThenInclude
.Include(e => e.Related1.SubRelated2)
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered:
Note for triage: we should show examples of dotting through for reference Includes.
@ygoe In general, ThenInclude is needed for collections. However, it helps consistency to show the same pattern for both references and collections.
Sorry, something went wrong.
Fix to #2873 - ThenInclude required?
0d42eb1
Added example for using single Include/ThenInclude method call to load multiple navigations.
7c989a2
maumar
Successfully merging a pull request may close this issue.
Is the use of
ThenInclude
required? I can also just call.Include(e => e.Related1.SubRelated2)
to do it all in one step. What's the difference?Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: