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