Microsoft Exam Questions

Which of the following methods will you use to accomplish the task?

You work as a Web Developer in PassGuide.com. The company uses Microsoft .NET Framework
4 as its application development environment. You are using Entity Framework. You want to
output the T-SQL statement that is going to be executed without using SQL profiler. Which of the
following methods will you use to accomplish the task?

A.
GetResultType

B.
ToTraceString

C.
AddObject

D.
Execute

Explanation: