C# Class Shaml.Web.NHibernate.TransactionAttribute

Inheritance: System.Web.Mvc.ActionFilterAttribute
Afficher le fichier Open project: sztupy/shaml

Méthodes publiques

Méthode Description
OnActionExecuted ( System.Web.Mvc.ActionExecutedContext filterContext ) : void
OnActionExecuting ( System.Web.Mvc.ActionExecutingContext filterContext ) : void
OnResultExecuted ( System.Web.Mvc.ResultExecutedContext filterContext ) : void
TransactionAttribute ( ) : System

When used, assumes the factoryKey to be NHibernateSession.DefaultFactoryKey

TransactionAttribute ( string factoryKey ) : System

Overrides the default factoryKey with a specific factory key

Private Methods

Méthode Description
GetEffectiveFactoryKey ( ) : string

Method Details

OnActionExecuted() public méthode

public OnActionExecuted ( System.Web.Mvc.ActionExecutedContext filterContext ) : void
filterContext System.Web.Mvc.ActionExecutedContext
Résultat void

OnActionExecuting() public méthode

public OnActionExecuting ( System.Web.Mvc.ActionExecutingContext filterContext ) : void
filterContext System.Web.Mvc.ActionExecutingContext
Résultat void

OnResultExecuted() public méthode

public OnResultExecuted ( System.Web.Mvc.ResultExecutedContext filterContext ) : void
filterContext System.Web.Mvc.ResultExecutedContext
Résultat void

TransactionAttribute() public méthode

When used, assumes the factoryKey to be NHibernateSession.DefaultFactoryKey
public TransactionAttribute ( ) : System
Résultat System

TransactionAttribute() public méthode

Overrides the default factoryKey with a specific factory key
public TransactionAttribute ( string factoryKey ) : System
factoryKey string
Résultat System