Which component is responsible for representing the data model in Entity Framework?

  • DbContext
  • DbSet
  • Entity Data Model
  • ObjectContext
The correct option is DbContext. In Entity Framework, DbContext is the primary class responsible for interacting with the database and representing the data model. It represents a session with the database and allows you to query and save data.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *