Microsoft
70-516 · Question #200
70-516 Question #200: Real Exam Question with Answer & Explanation
Sign in or unlock 70-516 to reveal the answer and full explanation for question #200. 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 a Windows Communication Foundation (WCF) Data Services service. You add the following code segment. (Line numbers are included for reference only.) 02 var ctx = new NorthwindEntities(uri); 03 var categories = from c in ctx.Categories select c; 04 foreach (var category in categories) { 05 PrintCategory(category); 06 ... 07 foreach (var product in category.Products) { 08 ... 09 PrintProduct(product); 10 } 11 } You need to ensure that the Product data for each Category object is lazy-loaded. What should you do?
Options
- AAdd the following code segment at line 06:
- BAdd the following code segment at line 08:
- CAdd the following code segment at line 06:
- DAdd the following code segment at line 08:
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.