Skip to content

Commit a0524ae

Browse files
committed
@shizn review
1 parent 5a7ef09 commit a0524ae

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

articles/app-service/tutorial-dotnetcore-sqldb-app.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -207,11 +207,12 @@ services.AddDbContext<MyDatabaseContext>(options =>
207207
options.UseSqlServer(Configuration.GetConnectionString("AZURE_SQL_CONNECTIONSTRING")));
208208
```
209209

210-
Run the following commands to install the necessary CLI tools for Entity Framework Core. Create an initial database migration file and apply those changes to update the database:
210+
From a local terminal, run the following commands to install the necessary CLI tools for Entity Framework Core, create an initial database migration file, and apply those changes to update the database:
211211

212212
```dotnetcli
213-
dotnet tool install -g dotnet-ef \
214-
dotnet ef migrations add InitialCreate \
213+
cd <sample-root>\DotNetCoreSqlDb
214+
dotnet tool install -g dotnet-ef
215+
dotnet ef migrations add InitialCreate
215216
dotnet ef database update
216217
```
217218

0 commit comments

Comments
 (0)