C# Class Castle.Facilities.ActiveRecordIntegration.ActiveRecordFacility

Provides integration with ActiveRecord framework.
Inheritance: Castle.MicroKernel.Facilities.AbstractFacility
显示文件 Open project: castleproject/Windsor Class Usage Examples

Public Methods

Method Description
ActiveRecordFacility ( ) : System

Initializes a new instance of the ActiveRecordFacility class.

ActiveRecordFacility ( bool skipARInitialization ) : System

Initializes a new instance of the ActiveRecordFacility class.

ActiveRecordFacility ( bool skipARInitialization, bool skipATransactionSetup ) : System

Initializes a new instance of the ActiveRecordFacility class.

Protected Methods

Method Description
Dispose ( ) : void

Performs the tasks associated with freeing, releasing, or resetting the facility resources.

It can be overriden.

Init ( ) : void

The custom initialization for the Facility.

It must be overriden.

Private Methods

Method Description
InitializeFramework ( ArrayList assemblies ) : void
Kernel_ComponentCreated ( ComponentModel model, object instance ) : void
ObtainAssembly ( String assemblyName ) : Assembly
OnNewTransaction ( object sender, Castle.Services.Transaction.TransactionEventArgs e ) : void
OnRootTypeRegistered ( object sender, Type rootType ) : void
OnSessionFactoryHolderCreated ( Castle holder ) : void
SetUpTransactionManager ( ) : void

Method Details

ActiveRecordFacility() public method

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

ActiveRecordFacility() public method

Initializes a new instance of the ActiveRecordFacility class.
public ActiveRecordFacility ( bool skipARInitialization ) : System
skipARInitialization bool
return System

ActiveRecordFacility() public method

Initializes a new instance of the ActiveRecordFacility class.
public ActiveRecordFacility ( bool skipARInitialization, bool skipATransactionSetup ) : System
skipARInitialization bool
skipATransactionSetup bool
return System

Dispose() protected method

Performs the tasks associated with freeing, releasing, or resetting the facility resources.
It can be overriden.
protected Dispose ( ) : void
return void

Init() protected method

The custom initialization for the Facility.
It must be overriden.
protected Init ( ) : void
return void