Update xref links (#10901)
parent
26649432de
commit
fd72580859
|
@ -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 <xref:data/ef-mvc/migrations>.
|
||||
|
||||
The `Update-Database` command runs the `Up` method in the *Migrations/{time-stamp}_InitialCreate.cs* file, which creates the database.
|
||||
|
||||
|
|
|
@ -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 <xref:data/ef-mvc/migrations>.
|
||||
|
||||
The `Update-Database` command runs the `Up` method in the *Migrations/{time-stamp}_InitialCreate.cs* file, which creates the database.
|
||||
|
||||
|
|
Loading…
Reference in New Issue