You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By the end of this guide, you’ll understand the basics of working with databases in ASP.NET Core using Entity Framework Core.
33
+
21
34
## Prerequisite
22
35
23
36
This tutorial uses a database you set up in the previous step: <xref:tutorials/first-mvc-app/adding-model>.
24
37
38
+
## Working with the database context
39
+
25
40
The `MvcMovieContext` object handles the task of connecting to the database and mapping `Movie` objects to database records. The database context is registered with the [Dependency Injection](xref:fundamentals/dependency-injection) container in the `Program.cs` file:
0 commit comments