开发者

How to see the SQL queries generated by NHibernate

开发者 https://www.devze.com 2023-03-05 20:14 出处:网络
开发者_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 performan
开发者_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

精彩评论

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

关注公众号