From 1bcc955ffd50ade7124310a82ea29c9b7df23c60 Mon Sep 17 00:00:00 2001 From: Rick Anderson Date: Mon, 10 Dec 2018 16:48:52 -1000 Subject: [PATCH] Update model.md (#9947) Fixes #9916 --- aspnetcore/tutorials/razor-pages/model.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aspnetcore/tutorials/razor-pages/model.md b/aspnetcore/tutorials/razor-pages/model.md index ceea88471e..664e90976a 100644 --- a/aspnetcore/tutorials/razor-pages/model.md +++ b/aspnetcore/tutorials/razor-pages/model.md @@ -111,13 +111,13 @@ The *appsettings.json* file is updated with the connection string used to connec * **For Windows**: Run the following command: ```console - dotnet aspnet-codegenerator razorpage -m Movie -dc MovieContext -udl -outDir Pages\Movies --referenceScriptLibraries + dotnet aspnet-codegenerator razorpage -m Movie -dc RazorPagesMovieContext -udl -outDir Pages\Movies --referenceScriptLibraries ``` * **For macOS and Linux**: Run the following command: ```console - dotnet aspnet-codegenerator razorpage -m Movie -dc MovieContext -udl -outDir Pages/Movies --referenceScriptLibraries + dotnet aspnet-codegenerator razorpage -m Movie -dc RazorPagesMovieContext -udl -outDir Pages/Movies --referenceScriptLibraries ``` [!INCLUDE [explains scaffold gen params](~/includes/RP/model4.md)]