Loading

Taking a look at the SQL in nhibernate

method 1:

image

method 2: behind-code

 

cfg.SetProperty(((NHibernate.Cfg.Environment.ShowSql, 
"true");
posted @ 2010-08-01 12:21  .net's  阅读(474)  评论(0)    收藏  举报