<1>添加DLL文件

HibernatingRhinos.Profiler.Appender

<2>书写代码

HibernatingRhinos.Profiler.Appender.NHibernate.NHibernateProfiler.Initialize();