开发者

How to see the SQL queries generated by NHibernate

开发者_Go百科

I'm using SQL server express edition with ASP.NET MVC, there is not a profiler in express editions so I can't see the queries generated by NHibernate. I'm concerned about the performance and how I can see the queries without a profiler?


Have you taken a look at nhprof? It's a profiler for NHibernate written by Ayende and should (I think) work with express. There's a trial version you can test with.


You could enable logging.


I haven't tried myselft, but theoretically you could use IntelliTrace

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜