Microsoft
70-516 · Question #16
70-516 Question #16: Real Exam Question with Answer & Explanation
Sign in or unlock 70-516 to reveal the answer and full explanation for question #16. The question stem and answer options stay visible for context.
Question
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. The application connects to a Microsoft SQL Server database. The application uses DataContexts to query the database. The application meets the following requirements: - Stores customer data offline. - Allows users to update customer records while they are disconnected from the server. - Enables offline changes to be submitted back to the SQL Server by using the DataContext object. You need to ensure that the application can detect all conflicts that occur between the offline customer information submitted to the SQL Server and the server version. You also need to ensure that you can roll back local changes. What should you do?
Options
- AAdd a try/catch statement around calls to the SubmitChanges method of the DataContext
- BAdd a try/catch statement around calls to the SubmitChanges method of the DataContext
- COverride the Update operation of the DataContext object.
- DCall the SubmitChanges method of the DataContext object.
Unlock 70-516 to see the answer
You've previewed enough free 70-516 questions. Unlock 70-516 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.