Update adding-model.md (#23707)

pull/23714/head
Rick Anderson 2021-11-01 14:14:01 -10:00 committed by GitHub
parent a58c32da11
commit 4c248f1a7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -620,7 +620,7 @@ export PATH=$HOME/.dotnet/tools:$PATH
Run the following command:
```dotnetcli
dotnet-aspnet-codegenerator controller -name MoviesController -m Movie -dc MvcMovieContext --relativeFolderPath Controllers --useDefaultLayout --referenceScriptLibraries
dotnet-aspnet-codegenerator controller -name MoviesController -m Movie -dc MvcMovieContext --relativeFolderPath Controllers --useDefaultLayout --referenceScriptLibraries -sqlite
```
[!INCLUDE [explains scaffold generated params](~/includes/mvc-intro/model4.md)]
@ -1089,7 +1089,7 @@ The automatic creation of these files is known as *scaffolding*.
* Run the following command:
```dotnetcli
dotnet-aspnet-codegenerator controller -name MoviesController -m Movie -dc MvcMovieContext --relativeFolderPath Controllers --useDefaultLayout --referenceScriptLibraries
dotnet-aspnet-codegenerator controller -name MoviesController -m Movie -dc MvcMovieContext --relativeFolderPath Controllers --useDefaultLayout --referenceScriptLibraries -sqlite
```
[!INCLUDE [explains scaffold generated params](~/includes/mvc-intro/model4.md)]
@ -1101,7 +1101,7 @@ The automatic creation of these files is known as *scaffolding*.
* Run the following command:
```dotnetcli
dotnet-aspnet-codegenerator controller -name MoviesController -m Movie -dc MvcMovieContext --relativeFolderPath Controllers --useDefaultLayout --referenceScriptLibraries
dotnet-aspnet-codegenerator controller -name MoviesController -m Movie -dc MvcMovieContext --relativeFolderPath Controllers --useDefaultLayout --referenceScriptLibraries -sqlite
```
[!INCLUDE [explains scaffold generated params](~/includes/mvc-intro/model4.md)]