diff --git a/aspnetcore/tutorials/first-mvc-app/adding-model.md b/aspnetcore/tutorials/first-mvc-app/adding-model.md index b1acf82ef7..e5abf56880 100644 --- a/aspnetcore/tutorials/first-mvc-app/adding-model.md +++ b/aspnetcore/tutorials/first-mvc-app/adding-model.md @@ -3,7 +3,7 @@ title: Add a model to an ASP.NET Core MVC app author: rick-anderson description: Add a model to a simple ASP.NET Core app. ms.author: riande -ms.date: 12/8/2017 +ms.date: 02/12/2019 uid: tutorials/first-mvc-app/adding-model --- @@ -206,7 +206,7 @@ You created a DB context and registered it with the dependency injection contain --- -The schema is based on the model specified in the `MvcMovieContext` (In the *Data/MvcMovieContext.cs* file). The `Initial` argument is used to name the migrations. Any name can be used, but by convention a name that describes the migration is used. See [Introduction to migrations](xref:data/ef-mvc/migrations#introduction-to-migrations) for more information. +The schema is based on the model specified in the `MvcMovieContext` (In the *Data/MvcMovieContext.cs* file). The `Initial` argument is used to name the migrations. Any name can be used, but by convention a name that describes the migration is used. For more information, see . The `Update-Database` command runs the `Up` method in the *Migrations/{time-stamp}_InitialCreate.cs* file, which creates the database. diff --git a/aspnetcore/tutorials/razor-pages/model.md b/aspnetcore/tutorials/razor-pages/model.md index 4e4ffed0b2..1e9e828c67 100644 --- a/aspnetcore/tutorials/razor-pages/model.md +++ b/aspnetcore/tutorials/razor-pages/model.md @@ -4,7 +4,7 @@ author: rick-anderson description: Discover how to add classes for managing movies in a database using Entity Framework Core (EF Core). ms.author: riande monikerRange: '>= aspnetcore-2.2' -ms.date: 12/3/2018 +ms.date: 02/12/2019 uid: tutorials/razor-pages/model --- # Add a model to a Razor Pages app in ASP.NET Core @@ -237,7 +237,7 @@ The name of the connection string is passed in to the context by calling a metho --- -The `Add-Migration` command generates code to create the initial database schema. The schema is based on the model specified in the `RazorPagesMovieContext` (In the *Data/RazorPagesMovieContext.cs* file). The `Initial` argument is used to name the migrations. Any name can be used, but by convention a name that describes the migration is used. See [Introduction to migrations](xref:data/ef-mvc/migrations#introduction-to-migrations) for more information. +The `Add-Migration` command generates code to create the initial database schema. The schema is based on the model specified in the `RazorPagesMovieContext` (In the *Data/RazorPagesMovieContext.cs* file). The `Initial` argument is used to name the migrations. Any name can be used, but by convention a name that describes the migration is used. For more information, see . The `Update-Database` command runs the `Up` method in the *Migrations/{time-stamp}_InitialCreate.cs* file, which creates the database.