You work as a Web developer in PassGuide.com. The company uses Microsoft .NET Framework
4. You want to designate a method as representing a stored procedure in LINQ to SQL attributebased mapping. Which of the following actions will you take to accomplish the task?
A.
Mark the method with FunctionAttribute and set the IsComposable property to false.
B.
Mark the method with FunctionAttribute and set the IsComposable property to true.
C.
Mark the method with ColumnAttribute and set the CanBeNull property to true.
D.
Mark the method with DatabaseAttribute and set the Name property to stored procedure.
Explanation:
http://msdn.microsoft.com/en-us/library/system.data.linq.mapping.functionattribute.iscomposable%28v=vs.110%29.aspx
Gets or sets whether a method is mapped to a function or to a stored procedure.