What is optimistic concurrency, and how does it relate to modifying data in datasets?

  • It locks the database during data modification
  • It assumes that no other user will interfere during data modification
  • It requires explicit locking of data before modification
  • It rolls back changes if conflicts occur during data modification
The correct option is It assumes that no other user will interfere during data modification. Optimistic concurrency is a strategy in ADO.NET where it assumes that no other user will interfere during data modification. It allows multiple users to access and modify the same data simultaneously without locking the database. If conflicting changes occur, it's typically handled during data submission. The other options do not accurately describe optimistic concurrency.
Add your answer
Loading...

Leave a comment

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