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:
http://msdn.microsoft.com/en-us/library/system.data.objects.objectquery.totracestring%28v=vs.110%29.aspx