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?
A.
1. Add the stored procedures in the SSDL file along with a Function attribute.
2. Define a complex type in the CSDL file.
3. Map the stored procedure in the MSL file with a ModificationFunctionElement.
B.
1. Add the stored procedures in the SSDL file along with a Function attribute.
2. Define a complex type in the CSDL file.
3. Map the stored procedure in the MSL file with an AssociationEnd element.
C.
1. Use the edmx designer to import the stored procedures.
2. Derive an entity class from the existing entity as a complex type.
3. Map the stored procedure in the MSL file with an AssociationEnd element.
D.
1. Add the stored procedures in the SSDL file along with a Function attribute.
2. Derive an entity class from the existing entity as a complex type.
3. Map the stored procedure in the MSL file with a ModificationFunctionElement.
Explanation:
EndProperty Element (MSL)
(http://msdn.microsoft.com/en-us/library/bb399578.aspx)AssosiationEnd Attribute
(http://msdn.microsoft.com/en-us/library/cc716774.aspx)