C# Class MvcContrib.Castle.MvcTransactionAttribute

Inheritance: System.Web.Mvc.ActionFilterAttribute
Datei anzeigen Open project: atomicobject/mvccontrib Class Usage Examples

Public Methods

Method Description
MvcTransactionAttribute ( ) : System

Declares unspecified values for transaction and isolation, which means that the transaction manager will use the default values for them

MvcTransactionAttribute ( TransactionMode transactionMode ) : System

Declares the transaction mode, but omits the isolation, which means that the transaction manager should use the default value for it.

MvcTransactionAttribute ( TransactionMode transactionMode, IsolationMode isolationMode ) : System

Declares both the transaction mode and isolation desired for this method. The transaction manager should obey the declaration.

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

Method Details

MvcTransactionAttribute() public method

Declares unspecified values for transaction and isolation, which means that the transaction manager will use the default values for them
public MvcTransactionAttribute ( ) : System
return System

MvcTransactionAttribute() public method

Declares the transaction mode, but omits the isolation, which means that the transaction manager should use the default value for it.
public MvcTransactionAttribute ( TransactionMode transactionMode ) : System
transactionMode TransactionMode
return System

MvcTransactionAttribute() public method

Declares both the transaction mode and isolation desired for this method. The transaction manager should obey the declaration.
public MvcTransactionAttribute ( TransactionMode transactionMode, IsolationMode isolationMode ) : System
transactionMode TransactionMode
isolationMode IsolationMode
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