From d66bbf8d8d8794521ef338142ac1c2fe35be8fd9 Mon Sep 17 00:00:00 2001 From: mattielee Date: Wed, 31 Jul 2019 10:37:11 -0700 Subject: [PATCH] Adds instructions to create new data folder (#13588) Fixes #13586 --- aspnetcore/includes/RP/model2.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aspnetcore/includes/RP/model2.md b/aspnetcore/includes/RP/model2.md index 58068b5cf1..424291b441 100644 --- a/aspnetcore/includes/RP/model2.md +++ b/aspnetcore/includes/RP/model2.md @@ -2,6 +2,7 @@ ### Add a database context class +In the RazorPagesMovie project, create a new folder called *Data*. Add the following `RazorPagesMovieContext` class to the *Data* folder: [!code-csharp[](~/tutorials/razor-pages/razor-pages-start/sample/RazorPagesMovie22/Data/RazorPagesMovieContext.cs)] @@ -81,4 +82,4 @@ Register the database context with the [dependency injection](xref:fundamentals/ [!code-csharp[](~/tutorials/razor-pages/razor-pages-start/sample/RazorPagesMovie22/Startup.cs?name=snippet_UseSqlite&highlight=11-12)] Build the project as a check for errors. -::: moniker-end \ No newline at end of file +::: moniker-end