There is MS Visual Studio 2010 and MS .NET Framework 4 application PassGuideApp.
PassGuideApp connects to a MS SQL Server database PassGuideDB.
To obtain data from PassGuideDB ADO.NET LINQ is used.
There is a function PassGuidef.
PassGuidef is defined with the ADO.NET LINQ entities conceptual model.
PassGuidef needs to be called.
What action do you need to take? Select two.
A.
Create a POCO method PassGuidem that maps to the function.
B.
Create a CLR method PassGuidem that maps to the function.
C.
PassGuidem should be declared as void.
D.
PassGuidem should be declared as static.
E.
PassGuidem should be declared as abstract.
F.
Attribute EdmComplexTypAttribute should be applied to PassGuidem.
G.
Attribute EdmFunctionAttribute should be applied to PassGuidem.
Explanation:
http://msdn.microsoft.com/en-us/library/system.data.objects.dataclasses.edmfunctionattribute%28v=vs.110%29.aspx
An EdmFunctionAttribute links a common language runtime (CLR) method to another function. Methods that have this attribute can be called from LINQ to Entities queries.