From ce1f789475616f734f7f3ded1e1298097aedf0c7 Mon Sep 17 00:00:00 2001 From: Rick Anderson Date: Fri, 20 Oct 2017 13:29:46 -1000 Subject: [PATCH] fix (#4609) --- aspnetcore/includes/RP/model2.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aspnetcore/includes/RP/model2.md b/aspnetcore/includes/RP/model2.md index c831300a25..ce7b236a91 100644 --- a/aspnetcore/includes/RP/model2.md +++ b/aspnetcore/includes/RP/model2.md @@ -9,6 +9,6 @@ The `ID` field is required by the database for the primary key. Add a `DbContext` derived class named *MovieContext.cs* to the *Models* folder. -[!code-csharp[Main](../../tutorials/razor-pages/razor-pages-start/snapshot_sample/RazorPagesMovie/Models/MovieContext.cs?range=5-13)] +[!code-csharp[Main](../../tutorials/razor-pages/razor-pages-start/snapshot_sample/RazorPagesMovie/Models/MovieContext.cs] The preceding code creates a `DbSet` property for the entity set. In Entity Framework terminology, an entity set typically corresponds to a database table, and an entity corresponds to a row in the table.