Select from following answers:- Call the Refresh method. Set the RefreshMode to ClientWins.

- Call the DetectChanges method.
- Call the AcceptAllChanges method.
- All Above
When making updates in such high concurrency scenarios, call Refresh frequently. Calling the StoreWins option will cause the Entity Framework to overwrite all data in the object cache with corresponding values from the database. Conversely, the ClientWins option replaces the original values in the cache with the latest values from the data source. This ensures that all changed data in the object cache can be successfully saved back to the data source by eliminating conflicts between changes that were made to data in the cache and changes that you made to the same data in the data source.
Show Correct Answer
Source: MeasureUp.Com | |
Alert Moderator