In this chapter, I will cover what an Entity Framework Core 5 database context is and how to configure it. The database context implemented in the DbContext class allows you to interface with your database store. Through DbContext, you can perform create, read, update, and delete operations. In addition, you can perform aggregations such as sum, max, average, and count.
4. Database Context
Get Beginning Entity Framework Core 5: From Novice to Professional now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.