Update adding-model.md (#23707)
parent
a58c32da11
commit
4c248f1a7f
|
@ -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)]
|
||||
|
|
Loading…
Reference in New Issue