Which of the following actions will you take to accomplish the task?

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?

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:



Leave a Reply 2

Your email address will not be published. Required fields are marked *