You use DataContext to execute a query on a database. Your code modifies returned objects. You need to submit all changes and handle any conflicts.

What should you do

 Posted by Rajkatie on 9/9/2012 | Category: ADO.NET Interview questions | Views: 1983 | Points: 40
Select from following answers:
  1. Iterate through the DataContext.ChangeConflicts collection.
  2. Handle the ChangeConflictException.
  3. Call the SubmitChanges method of the DataContext with the ConflictMode parameter set to ContinueOnConflict.
  4. All Above

Show Correct Answer

Source: MeasureUp.Com | | Alert Moderator 

Comments or Responses

Login to post response