nerdexam
Microsoft

70-516 · Question #139

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. The application connects to a Microsoft SQL Server database. You use the ADO.NET Entity Framework to…

The correct answer is A. 1. Add the stored procedures in the SSDL file along with a Function attribute. EndProperty Element (MSL) AssosiationEnd Attribute

Implementing Data Access

Question

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. The application connects to a Microsoft SQL Server database. You use the ADO.NET Entity Framework to model entities. You need to add a new type to your model that organizes scalar values within an entity. You also need to map stored procedures for managing instances of the type. What should you do?

Options

  • A
    1. Add the stored procedures in the SSDL file along with a Function attribute.
  • B
    1. Add the stored procedures in the SSDL file along with a Function attribute.
  • C
    1. Use the edmx designer to import the stored procedures.
  • D
    1. Add the stored procedures in the SSDL file along with a Function attribute.

How the community answered

(32 responses)
  • A
    75% (24)
  • B
    16% (5)
  • C
    3% (1)
  • D
    6% (2)

Explanation

EndProperty Element (MSL) AssosiationEnd Attribute

Topics

#complex type#stored procedures#SSDL#Entity Framework mapping

Community Discussion

No community discussion yet for this question.

Full 70-516 Practice