From 796c2dbb9e9ec791eef106e298234a4b3dbc1677 Mon Sep 17 00:00:00 2001 From: dharmatech Date: Sat, 22 May 2021 18:44:05 -0700 Subject: [PATCH] Correct property reference (#22381) --- aspnetcore/data/ef-rp/read-related-data.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aspnetcore/data/ef-rp/read-related-data.md b/aspnetcore/data/ef-rp/read-related-data.md index 6faf6ff91a..8337033050 100644 --- a/aspnetcore/data/ef-rp/read-related-data.md +++ b/aspnetcore/data/ef-rp/read-related-data.md @@ -207,7 +207,7 @@ Examine the query in the *Pages/Instructors/Index.cshtml.cs* file: The code specifies eager loading for the following navigation properties: * `Instructor.OfficeAssignment` -* `Instructor.Course` +* `Instructor.Courses` * `Course.Department` The following code executes when an instructor is selected, that is, `id != null`. @@ -919,4 +919,4 @@ The next tutorial shows how to update related data. >[Previous](xref:data/ef-rp/complex-data-model) >[Next](xref:data/ef-rp/update-related-data) -::: moniker-end \ No newline at end of file +::: moniker-end