The DbContext class provides a ___________ to interact with the database.

  • Connection
  • Context
  • Interface
  • Representation
The DbContext class provides a context to interact with the database. It represents a session with the database and provides facilities to query, insert, update, and delete data from the database. DbContext acts as an entry point to the Entity Framework Core and manages the connection, transaction, and other aspects of interacting with the database.
Add your answer
Loading...

Leave a comment

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