C# Class Persistence.SessionBuilderBase

Inheritance: ISessionBuilder
Show file Open project: jglozano/samples

Public Methods

Method Description
GetConfiguration ( ) : NHibernate.Cfg.Configuration
GetSessionFactory ( ) : ISessionFactory
OpenSession ( ) : ISession
OpenStatelessSession ( ) : IStatelessSession

Private Methods

Method Description
GetConfigFilePath ( ) : string

Method Details

GetConfiguration() public method

public GetConfiguration ( ) : NHibernate.Cfg.Configuration
return NHibernate.Cfg.Configuration

GetSessionFactory() public method

public GetSessionFactory ( ) : ISessionFactory
return ISessionFactory

OpenSession() public method

public OpenSession ( ) : ISession
return ISession

OpenStatelessSession() public method

public OpenStatelessSession ( ) : IStatelessSession
return IStatelessSession