InterviewSolution
Saved Bookmarks
| 1. |
Explain database concurrency and the way to handle it. |
|
Answer» Database concurrency in EF means that multiple users can simultaneously MODIFY the same data in one database. Concurrency controls help safeguard data consistency in situations like these. Optimistic locking is usually used to HANDLE database concurrency. We must first right-click on the EDMX DESIGNER and then change the concurrency mode to Fixed in order to implement locking. With this change, if there is a concurrency issue, we will RECEIVE a positive concurrency exception error. |
|