C# Class Nettiers.AdventureWorks.Web.Data.EntityTransactionModule

Provides access to a TransactionManager instance associated with the current HttpContext.
Inheritance: IHttpModule
ファイルを表示 Open project: netTiers/netTiers

Public Methods

Method Description
Dispose ( ) : void

Disposes of the resources (other than memory) used by the module.

EntityTransactionModule ( ) : System

Initializes a new instance of the EntityTransactionModule class.

Init ( System.Web.HttpApplication application ) : void

Initializes a module and prepares it to handle requests.

Protected Methods

Method Description
OnEndRequest ( Object sender, EventArgs e ) : void

Handles the System.Web.HttpApplication.EndRequest event.

Method Details

Dispose() public method

Disposes of the resources (other than memory) used by the module.
public Dispose ( ) : void
return void

EntityTransactionModule() public method

Initializes a new instance of the EntityTransactionModule class.
public EntityTransactionModule ( ) : System
return System

Init() public method

Initializes a module and prepares it to handle requests.
public Init ( System.Web.HttpApplication application ) : void
application System.Web.HttpApplication An reference to the current HttpApplication instance.
return void

OnEndRequest() protected method

Handles the System.Web.HttpApplication.EndRequest event.
protected OnEndRequest ( Object sender, EventArgs e ) : void
sender Object
e System.EventArgs
return void