nerdexam
Microsoft

70-516 · Question #66

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. You create an Entity Data Model (EDM) by using the Microsoft ADO.NET Entity Data Model Designer…

The correct answer is C. Add a function import for the stored procedure. See the full explanation below for the reasoning.

Question

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. You create an Entity Data Model (EDM) by using the Microsoft ADO.NET Entity Data Model Designer (Entity Designer). The EDM contains a complex type. You need to map a stored procedure to the complex type by using the Entity Designer. What should you do?

Options

  • AAdd an association to the stored procedure.
  • BAdd a code generation item that has the name of the stored procedure.
  • CAdd a function import for the stored procedure.
  • DAdd an entity that mirrors the properties of the complex type.

How the community answered

(26 responses)
  • A
    4% (1)
  • B
    8% (2)
  • C
    73% (19)
  • D
    15% (4)

Community Discussion

No community discussion yet for this question.

Full 70-516 Practice