Microsoft
70-516 · Question #229
70-516 Question #229: Real Exam Question with Answer & Explanation
Sign in or unlock 70-516 to reveal the answer and full explanation for question #229. The question stem and answer options stay visible for context.
Question
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Communication Foundation (WCF) Data Services service. You add the following code segment. (Line numbers are included for reference only.) 02 Dim ctx As var = New NorthwindEntities(uri) 03 Dim categories As var = From c In ctx.Categories _ 04 Select c 05 For Each c ategory As var In categories 06 PrintCategory(category) 08 For Each product As var In category.Products 10 PrintProduct(product) 11 Next 12 Next 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 07.
- BAdd the following code segment at line 09.
- CAdd the following code segment at line 07.
- DAdd the following code segment at line 09.
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.