How to know query generated by Fluent NHibernate

后端 未结 8 1364
萌比男神i
萌比男神i 2020-12-30 00:07

I am using linq to Nhibernate to fire some select query to data base.

My question is, how do I know, the query generated by Fluent NHibernate?

相关标签:
8条回答
  • 2020-12-30 00:40

    You can also hook in log4net.

    0 讨论(0)
  • 2020-12-30 00:42

    Definitely buy and use NHProf. This is an awesome product and not only shows you what queries are being run, but also shows you any potential performance problems with your NHibernate mappings and queries.

    0 讨论(0)
提交回复
热议问题