parent
043b89e56c
commit
1bcc955ffd
|
@ -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)]
|
||||
|
|
Loading…
Reference in New Issue