GetSession() static private method

static private GetSession ( ) : ISession
return ISession
Beispiel #1
0
        public void Start()
        {
            if (log.IsInfoEnabled)
            {
                log.Info(Consts.ENTERED);
            }

            NHibernateSession = NHibernateConfig.GetSession();

            if (log.IsDebugEnabled)
            {
                log.Debug(NHibernateSession);
            }
        }