fix: MD035/hr-style Horizontal (#11618)

Use the "---" for HR style
pull/11620/head
Nick Schonning 2019-03-21 01:13:02 -04:00 committed by Rick Anderson
parent 64644bf8ec
commit 7bd12516de
10 changed files with 17 additions and 17 deletions

View File

@ -138,7 +138,7 @@ dotnet ef migrations add ColumnFirstName
dotnet ef database update
```
------
---
The `migrations add ColumnFirstName` command generates the following warning message:
@ -552,7 +552,7 @@ Add-Migration ComplexDataModel
dotnet ef migrations add ComplexDataModel
```
------
---
The preceding command displays a warning about possible data loss.
@ -604,7 +604,7 @@ Enter the following in the command window:
dotnet ef database update
```
------
---
Run the app. Running the app runs the `DbInitializer.Initialize` method. The `DbInitializer.Initialize` populates the new DB.

View File

@ -161,7 +161,7 @@ Follow the instructions in [Scaffold the student model](xref:data/ef-rp/intro#sc
dotnet aspnet-codegenerator razorpage -m Department -dc SchoolContext -udl -outDir Pages\Departments --referenceScriptLibraries
```
------
---
The preceding command scaffolds the `Department` model. Open the project in Visual Studio.

View File

@ -32,7 +32,7 @@ The sample app is a web site for a fictional Contoso University. It includes fun
[!INCLUDE [](~/includes/2.1-SDK.md)]
------
---
Familiarity with [Razor Pages](xref:razor-pages/index). New programmers should complete [Get started with Razor Pages](xref:tutorials/razor-pages/razor-pages-start) before starting this series.
@ -71,7 +71,7 @@ cd ContosoUniversity
dotnet run
```
------
---
## Set up the site style
@ -176,7 +176,7 @@ dotnet tool install --global dotnet-aspnet-codegenerator
dotnet aspnet-codegenerator razorpage -m Student -dc ContosoUniversity.Models.SchoolContext -udl -outDir Pages/Students --referenceScriptLibraries
```
------
---
The scaffold process created and changed the following files:

View File

@ -56,7 +56,7 @@ Enter the following in the command window:
dotnet ef database drop
```
------
---
## Create an initial migration and update the DB
@ -76,7 +76,7 @@ dotnet ef migrations add InitialCreate
dotnet ef database update
```
------
---
### Examine the Up and Down methods
@ -115,7 +115,7 @@ dotnet ef migrations remove
For more information, see [dotnet ef migrations remove](/ef/core/miscellaneous/cli/dotnet#dotnet-ef-migrations-remove).
------
---
The remove migrations command deletes the migration and ensures the snapshot is correctly reset.

View File

@ -78,7 +78,7 @@ Follow the instructions in [Scaffold the student model](xref:data/ef-rp/intro#sc
dotnet aspnet-codegenerator razorpage -m Course -dc SchoolContext -udl -outDir Pages\Courses --referenceScriptLibraries
```
------
---
The preceding command scaffolds the `Course` model. Open the project in Visual Studio.
@ -165,7 +165,7 @@ Follow the instructions in [Scaffold the student model](xref:data/ef-rp/intro#sc
dotnet aspnet-codegenerator razorpage -m Instructor -dc SchoolContext -udl -outDir Pages\Instructors --referenceScriptLibraries
```
------
---
The preceding command scaffolds the `Instructor` model.
Run the app and navigate to the instructors page.

View File

@ -54,4 +54,4 @@ dotnet aspnet-codegenerator identity -dc MyWeb.Data.ApplicationDbContext --files
If you run the Identity scaffolder without specifying the `--files` flag or the `--useDefaultUI` flag, all the available Identity UI pages will be created in your project.
-------------
---

View File

@ -38,4 +38,4 @@ In the project folder, run the Identity scaffolder with the options you want. Fo
dotnet aspnet-codegenerator identity --useDefaultUI
```
-------------
---

View File

@ -16,6 +16,6 @@ dotnet ef migrations add CreateIdentitySchema
dotnet ef database update
```
------
---
The "CreateIdentitySchema" name parameter for the `Add-Migration` command is arbitrary. `"CreateIdentitySchema"` describes the migration.

View File

@ -11,4 +11,4 @@
There are many third party tools you can download to manage and view a SQLite database, for example [DB Browser for SQLite](http://sqlitebrowser.org/).
------
---

View File

@ -124,7 +124,7 @@ From the console, enter the following command:
dotnet add package SendGrid
```
------
---
See [Get Started with SendGrid for Free](https://sendgrid.com/free/) to register for a free SendGrid account.