Property | Type | Description | |
---|---|---|---|
CreateConfigurationException | |||
FluentConfiguration | System | ||
FluentConfiguration | System |
Method | Description | |
---|---|---|
BuildConfiguration ( ) : NHibernate.Cfg.Configuration |
Verifies the configuration and populates the NHibernate Configuration instance.
|
|
BuildSessionFactory ( ) : ISessionFactory |
Verify's the configuration and instructs NHibernate to build a SessionFactory.
|
|
Database ( Func |
Apply database settings
|
|
Database ( IPersistenceConfigurer config ) : |
Apply database settings
|
|
ExposeConfiguration ( Action |
Allows altering of the raw NHibernate Configuration object before creation
|
|
Mappings ( Action |
Apply mappings to NHibernate
|
Method | Description | |
---|---|---|
CreateConfigurationException ( |
Creates an exception based on the current state of the configuration.
|
|
FluentConfiguration ( ) : System | ||
FluentConfiguration ( NHibernate.Cfg.Configuration cfg ) : System |
public BuildConfiguration ( ) : NHibernate.Cfg.Configuration | ||
return | NHibernate.Cfg.Configuration |
public BuildSessionFactory ( ) : ISessionFactory | ||
return | ISessionFactory |
public Database ( Func |
||
config | Func |
Lambda returning database configuration |
return |
public Database ( IPersistenceConfigurer config ) : |
||
config | IPersistenceConfigurer | Database configuration instance |
return |
public ExposeConfiguration ( Action |
||
config | Action |
Lambda used to alter Configuration |
return |
public Mappings ( Action |
||
mappings | Action |
Lambda used to apply mappings |
return |