nerdexam
Microsoft

70-516 · Question #81

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to develop an application that uses LINQ to SQL. The application contains the following model. Each region contains a single…

Sign in or unlock 70-516 to reveal the answer and full explanation for question #81. 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 that uses LINQ to SQL. The application contains the following model. Each region contains a single vendor. Customers order parts from the vendor that is located in their region. You need to ensure that each row in the Customer table references the appropriate row from the Vendor table. Which code segment should you use?

Exhibit

70-516 question #81 exhibit

Options

  • ASalesDataContext dc = new SalesDataContext("...");
  • BSalesDataContext dc = new SalesDataContext("...");
  • CSalesDataContext dc = new SalesDataContext("...");
  • DSalesDataContext dc = new SalesDataContext("...");

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