开发者

Entity Framework see SQL sentence when calling stored procedure

Is there a way to see the underlying SQL sentence when executing a stored procedure in Entity Framework (3.5)?

To use the stored procedure I did from the diagram: Add, Function Import… etc

Thanks

UPDATE 1

I downloaded 'AnjLab Sql Profiler' 开发者_StackOverflow社区from.

http://code.google.com/p/sqlexpressprofiler/downloads/list

And was able to see that the stored procedure is executed correctly.


You can use any type of database profiler - for example SQL profiler for SQL server or you can use either EFTracingProvider or any EF profiler (these tools are usually commercial). Here is whole article about these techniques.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜