C# Class Infrastructure.Persistence.NHibernateSessionFactory

Inheritance: INhibernateSessionFactory
Mostrar archivo Open project: Slesa/Playground

Public Methods

Method Description
Configure ( ) : void
CreateSession ( ) : ISession
Dispose ( ) : void
NHibernateSessionFactory ( IPersistenceConfiguration persistenceConfiguration, INHibernatePersistenceModel persistenceModel ) : System

Protected Methods

Method Description
Dispose ( bool @explicit ) : void

Private Methods

Method Description
CreateDatabaseWhenDebug ( FluentConfiguration configuration ) : void
CreateSessionFactory ( ) : ISessionFactory

Method Details

Configure() public method

public Configure ( ) : void
return void

CreateSession() public method

public CreateSession ( ) : ISession
return ISession

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool @explicit ) : void
@explicit bool
return void

NHibernateSessionFactory() public method

public NHibernateSessionFactory ( IPersistenceConfiguration persistenceConfiguration, INHibernatePersistenceModel persistenceModel ) : System
persistenceConfiguration IPersistenceConfiguration
persistenceModel INHibernatePersistenceModel
return System