From b1b8ba4bd688eec7e0596deefe4ee5d16493f7a0 Mon Sep 17 00:00:00 2001 From: liangshiwei Date: Thu, 30 Jul 2020 19:07:39 +0800 Subject: [PATCH] Update part-8 document --- docs/en/Tutorials/Part-8.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/en/Tutorials/Part-8.md b/docs/en/Tutorials/Part-8.md index cf75994c14..af8cc78a31 100644 --- a/docs/en/Tutorials/Part-8.md +++ b/docs/en/Tutorials/Part-8.md @@ -489,6 +489,16 @@ namespace Acme.BookStore } ```` +{{if DB=="EF"}} + +You can now run the `.DbMigrator` console application to **migrate** the **database schema** and **seed** the initial data. + +{{else if DB=="Mongo"}} + +You can now run the `.DbMigrator` console application to **seed** the initial data. + +{{end}} + ## Testing the Author Application Service Finally, we can write some tests for the `IAuthorAppService`. Add a new class, named `AuthorAppService_Tests` in the `Authors` namespace (folder) of the `Acme.BookStore.Application.Tests` project: