nerdexam
Microsoft

70-516 · Question #80

70-516 Question #80: Real Exam Question with Answer & Explanation

Sign in or unlock 70-516 to reveal the answer and full explanation for question #80. The question stem and answer options stay visible for context.

Question

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to develop an application. You use the ADO.NET Entity Framework Designer to model entities. You retrieve an entity from an object context. A different application updates the database. You need to update the entity instance to reflect updated values in the database. Which line of code should you use?

Options

  • Acontext.Refresh(RefreshMode.StoreWins, entity);
  • Bcontext.LoadProperty(entity, "Client", MergeOption.OverwriteChanges);
  • Ccontext.AcceptAllChanges() ;
  • Dcontext.LoadProperty(entity, "Server", MergeOption.OverwriteChanges);

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.

Full 70-516 Practice