fix DbContext namespace (#3313)

pull/3315/head
Tom Dykstra 2017-05-05 09:03:49 -07:00 committed by GitHub
parent e1c8ca9fe8
commit 64c0686921
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ We'll say more about the `DatabaseGenerated` attribute in a [later tutorial](com
## Create the Database Context
The main class that coordinates Entity Framework functionality for a given data model is the database context class. You create this class by deriving from the `System.Data.Entity.DbContext` class. In your code you specify which entities are included in the data model. You can also customize certain Entity Framework behavior. In this project, the class is named `SchoolContext`.
The main class that coordinates Entity Framework functionality for a given data model is the database context class. You create this class by deriving from the `Microsoft.EntityFrameworkCore.DbContext` class. In your code you specify which entities are included in the data model. You can also customize certain Entity Framework behavior. In this project, the class is named `SchoolContext`.
In the project folder, create a folder named *Data*.