C# 클래스 Shaml.Web.NHibernate.TransactionAttribute

상속: System.Web.Mvc.ActionFilterAttribute
파일 보기 프로젝트 열기: sztupy/shaml

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
GetEffectiveFactoryKey ( ) : string

메소드 상세

OnActionExecuted() 공개 메소드

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

OnActionExecuting() 공개 메소드

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

OnResultExecuted() 공개 메소드

public OnResultExecuted ( System.Web.Mvc.ResultExecutedContext filterContext ) : void
filterContext System.Web.Mvc.ResultExecutedContext
리턴 void

TransactionAttribute() 공개 메소드

When used, assumes the factoryKey to be NHibernateSession.DefaultFactoryKey
public TransactionAttribute ( ) : System
리턴 System

TransactionAttribute() 공개 메소드

Overrides the default factoryKey with a specific factory key
public TransactionAttribute ( string factoryKey ) : System
factoryKey string
리턴 System