Update adding-model.md (#23800)
parent
a5a355ad32
commit
84621a30d3
|
@ -245,7 +245,7 @@ The scaffolded pages can't be used yet because the database doesn't exist. Runni
|
|||
|
||||
## Build the app
|
||||
|
||||
Build the app. The compiler generates several warnings about how `null` values are handled. The released version of .NET 6 will scaffold code without these warnings. See [this GitHub issue](https://github.com/dotnet/Scaffolding/issues/1594) and [Nullable reference types](/dotnet/csharp/nullable-references) for more information.
|
||||
Build the app. The compiler generates several warnings about how `null` values are handled. See [this GitHub issue](https://github.com/dotnet/Scaffolding/issues/1594) and [Nullable reference types](/dotnet/csharp/nullable-references) for more information.
|
||||
|
||||
To eliminate the warnings from nullable reference types, remove the following line from the *MvcMovie.csproj* file:
|
||||
|
||||
|
@ -253,6 +253,8 @@ To eliminate the warnings from nullable reference types, remove the following li
|
|||
<Nullable>enable</Nullable>
|
||||
```
|
||||
|
||||
We hope to fix this issue in the next release.
|
||||
|
||||
## Initial migration
|
||||
|
||||
Use the EF Core [Migrations](xref:data/ef-mvc/migrations) feature to create the database. *Migrations* is a set of tools that create and update a database to match the data model.
|
||||
|
|
Loading…
Reference in New Issue