Skip to content

Commit b8f4882

Browse files
mrmowjiguardrex
authored andcommitted
Modify line numbers to highlight (dotnet#12811)
1 parent e17f125 commit b8f4882

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aspnetcore/tutorials/first-mvc-app/adding-model.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ The scaffolding tool automatically created a DB context and registered it with t
175175

176176
Examine the following `Startup.ConfigureServices` method. The highlighted line was added by the scaffolder:
177177

178-
[!code-csharp[](~/tutorials/first-mvc-app/start-mvc/sample/MvcMovie22/Startup.cs?name=snippet_ConfigureServices&highlight=15-18)]
178+
[!code-csharp[](~/tutorials/first-mvc-app/start-mvc/sample/MvcMovie22/Startup.cs?name=snippet_ConfigureServices&highlight=14-15)]
179179

180180
The `MvcMovieContext` coordinates EF Core functionality (Create, Read, Update, Delete, etc.) for the `Movie` model. The data context (`MvcMovieContext`) is derived from [Microsoft.EntityFrameworkCore.DbContext](/dotnet/api/microsoft.entityframeworkcore.dbcontext). The data context specifies which entities are included in the data model:
181181

0 commit comments

Comments
 (0)