public virtual ISession CreateSession(ISessionFactory sessionFactory)
 {
     var nhi = new NHInterceptor(interceptor, notifier);
     var s = sessionFactory.OpenSession(nhi);
     nhi.Session = s;
     return s;
 }
        public virtual ISession CreateSession(ISessionFactory sessionFactory)
        {
            var nhi = new NHInterceptor(interceptor, notifier);
            var s   = sessionFactory.OpenSession(nhi);

            nhi.Session = s;
            return(s);
        }
		public virtual ISession CreateSession(ISessionFactory sessionFactory)
		{
			logger.Debug("Creating NH session");

			var nhi = new NHInterceptor(interceptor, notifier);
			var s = sessionFactory.OpenSession(nhi);
			nhi.Session = s;
			return s;
		}