I wonder how the DataContext handles concurrency violation.
For example -
Two users are fetching some data from the database, then some of them change some row and commit changes, then other user trying commit their changes so a ChangeConflictException
should occur, but how does the DataContext know that the data has changed?
Fetching this data again and comparing? Or some database notification mechanism?