Microsoft
70-516 · Question #24
70-516 Question #24: Real Exam Question with Answer & Explanation
Sign in or unlock 70-516 to reveal the answer and full explanation for question #24. 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 uses the ADO.NET Entity Framework to model entities. The application allows users to make changes to entities while disconnected from the central data store. You need to ensure that when the user connects to the central data store and retrieves new data, the application meets the following requirements: - Changes made to the local data store in disconnected mode are preserved. - Entities that have already been loaded into the local data store, but have not been modified by the user, are updated with the latest data. What should you do?
Options
- ACall the query's Execute method by using the MergeOptions.AppendOnly option.
- BCall the query's Execute method by using the MergeOptions.OverwriteChanges option.
- CCall the Refresh method of ObjectContext by using the RefreshMode.StoreWins option.
- DCall the Refresh method of ObjectContext by using the RefreshMode.ClientWins option.
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.