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)]