-
Notifications
You must be signed in to change notification settings - Fork 1
DbContext What
Ryan Ephgrave edited this page May 13, 2022
·
6 revisions
A DbContext in Entity Framework is the model of your database. Once you have a properly created DbContext, you can query the database, create objects, remove them, track changes, and even create the database if it doesn't already exist!
You always have to start with a DbContext, and EFPosh gives you three ways to create one, ordered below by difficulty level: