To handle transactions in a disconnected scenario, the ________ pattern is commonly employed.

  • Repository
  • Unit of Work
  • Factory
  • Command
The correct option is 2. The Unit of Work pattern is commonly employed to handle transactions in a disconnected scenario in Entity Framework. It helps manage transactions across multiple database operations, allowing changes to be committed or rolled back as a single unit.
Add your answer
Loading...

Leave a comment

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