C# Class Castle.Facilities.ActiveRecordIntegration.SessionFactoryDelegate

Implements ISessionFactory allowing it to be used by the container as an ordinary component. However only ISessionFactory.OpenSession(IDbConnection) is implemented
Inheritance: ISessionFactory
Show file Open project: castleproject/Windsor Class Usage Examples

Public Methods

Method Description
Create ( ISessionFactoryHolder sessionFactoryHolder, Type arType ) : ISessionFactory

Creates the specified session factory delegate from the holder and root type

Method Details

Create() public static method

Creates the specified session factory delegate from the holder and root type
public static Create ( ISessionFactoryHolder sessionFactoryHolder, Type arType ) : ISessionFactory
sessionFactoryHolder ISessionFactoryHolder The session factory holder.
arType System.Type Type of the AR entity.
return ISessionFactory