示例#1
0
 private void ApplicationBeginRequest(object sender, EventArgs e)
 {
     if (RequestMayNeedIterationWithPersistence(sender as HttpApplication))
     {
         NHibernateHelper.BeginTransaction();
     }
 }
示例#2
0
 public Dao()
 {
     _log.Debug("Created new DAO");
     NHibernateHelper.BeginTransaction();
 }
示例#3
0
        public override void OnActionExecuting(ActionExecutingContext filterContext)
        {
            NHibernateHelper.BeginTransaction();

            base.OnActionExecuting(filterContext);
        }