public ISession GetSessionFrom(string sessionFactoryConfigPath, INwContext userContext)
        {
            var sess = GetSessionFromInternal(sessionFactoryConfigPath, null /*new NwAuditInterceptor(userContext)*/);

            //sess.GetSessionImplementation().Listeners.PreUpdateEventListeners = new IPreUpdateEventListener[] { new UpdateModifiedPreUpdateListener(userContext) };
            return(sess);
        }
Esempio n. 2
0
 public ManagerViewBase(ISession session, INwContext userContext)
 {
     this._session    = session;
     this.UserContext = userContext;
 }
		public ISession GetSessionFrom(string sessionFactoryConfigPath, INwContext userContext)
		{
			var sess = GetSessionFromInternal(sessionFactoryConfigPath, null /*new NwAuditInterceptor(userContext)*/);
            //sess.GetSessionImplementation().Listeners.PreUpdateEventListeners = new IPreUpdateEventListener[] { new UpdateModifiedPreUpdateListener(userContext) };
            return sess;
		}