Microsoft
70-516 · Question #63
70-516 Question #63: Real Exam Question with Answer & Explanation
Sign in or unlock 70-516 to reveal the answer and full explanation for question #63. 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. The application includes two ObjectContext instances named context1 and context2. You need to persist the changes in both object contexts within a single transaction. Which code segment should you use?
Options
- Ausing (TransactionScope scope = new TransactionScope())
- Busing (TransactionScope scope = new TransactionScope())
- Cusing (TransactionScope scope = new TransactionScope())
- Dusing (TransactionScope scope = new TransactionScope())
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.