nerdexam
Microsoft

70-516 · Question #151

You are working with an ObjectContext object that targets the mainframe and another ObjectContext object that targets SQL Server. When it's time to save the changes, you want all changes to be sent…

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

Question

You are working with an ObjectContext object that targets the mainframe and another ObjectContext object that targets SQL Server. When it's time to save the changes, you want all changes to be sent to the mainframe and to SQL Server as one transaction. How can you accomplish this?

Options

  • AJust save both ObjectContext objects because they automatically join the same transaction.
  • BSave to the mainframe and use an if statement to verify that the changes were successful.
  • CWrap the saving of both ObjectContext objects within a TransactionScope object that is
  • DUse a Boolean flag to indicate the success of each save, which will tell you whether the save

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