1,添加引用
2,在buildsessionfactory()前面加上。。
HibernatingRhinos.Profiler.Appender.NHibernate.NHibernateProfiler.Initialize();
运行时,即可看到profiler的有数据生成。
1,添加引用
2,在buildsessionfactory()前面加上。。
HibernatingRhinos.Profiler.Appender.NHibernate.NHibernateProfiler.Initialize();
运行时,即可看到profiler的有数据生成。