C# Class Informedica.GenForm.Mvc3.Environments.NHibernateSessionAttribute

Inheritance: System.Web.Mvc.ActionFilterAttribute
Mostra file Open project: halcwb/GenForm Class Usage Examples

Public Methods

Method Description
NHibernateSessionAttribute ( ) : System
OnActionExecuted ( System.Web.Mvc.ActionExecutedContext filterContext ) : void
OnActionExecuting ( System.Web.Mvc.ActionExecutingContext filterContext ) : void

Private Methods

Method Description
BindSessionToCurrentSessionContext ( ) : void
OpenSession ( System.Web.HttpSessionStateBase sessionState ) : void
TryGetSessionFactory ( ControllerContext context ) : ISessionFactory

Method Details

NHibernateSessionAttribute() public method

public NHibernateSessionAttribute ( ) : System
return System

OnActionExecuted() public method

public OnActionExecuted ( System.Web.Mvc.ActionExecutedContext filterContext ) : void
filterContext System.Web.Mvc.ActionExecutedContext
return void

OnActionExecuting() public method

public OnActionExecuting ( System.Web.Mvc.ActionExecutingContext filterContext ) : void
filterContext System.Web.Mvc.ActionExecutingContext
return void