nerdexam
Microsoft

70-516 · Question #79

70-516 Question #79: Real Exam Question with Answer & Explanation

The correct answer is C. Navigate to the GetActiveProducts stored procedure in Server Explorer, and drag the. See the full explanation below for the reasoning.

Question

You use Microsoft .NET Framework 4.0 to develop an application that uses LINQ to SQL. The LINQ to SQL model contains the Product entity. A stored procedure named GetActiveProducts performs a query that returns the set of active products from the database. You need to invoke the stored procedure to return the active products, and you must ensure that the LINQ to SQL context can track changes to these entities. What should you do?

Options

  • ASelect the Product entity, view the entity's property window, and change the Name for the
  • BAdd a property named GetActiveProducts to the Product entity.
  • CNavigate to the GetActiveProducts stored procedure in Server Explorer, and drag the
  • DSelect the Product entity, view the entity's property window, and change the Source for the

Community Discussion

No community discussion yet for this question.

Full 70-516 Practice