Method | Description | |
---|---|---|
ApplyConfigurationSettings ( NHibernate.Cfg.Configuration cfg, IConfiguration facilityConfig ) : void | ||
ConfigureFacility ( ) : void | ||
GenerateMappingFromAttributesIfNeeded ( NHibernate.Cfg.Configuration cfg, String targetAssembly ) : void |
If targetAssembly has a reference on To avoid an unnecessary dependency on the library |
|
Init ( ) : void | ||
RegisterAssemblies ( NHibernate.Cfg.Configuration cfg, IConfiguration facilityConfig ) : void | ||
RegisterComponents ( ) : void | ||
RegisterResources ( NHibernate.Cfg.Configuration cfg, IConfiguration facilityConfig ) : void | ||
RegisterSessionFactoryResolver ( ) : void | ||
RegisterSessionManager ( ) : void | ||
RegisterSessionStore ( ) : void | ||
RegisterTransactionManager ( ) : void |
Method | Description | |
---|---|---|
AssertHasAtLeastOneFactoryConfigured ( ) : void | ||
AssertHasConfig ( ) : void | ||
ConfigureFactories ( IConfiguration config, ISessionFactoryResolver sessionFactoryResolver, bool firstFactory ) : void | ||
ConfigureReflectionOptimizer ( IConfiguration config ) : void |
Reads the attribute As reported on Jira (FACILITIES-39) the reflection optimizer slow things down. So by default it will be disabled. You can use the attribute |
|
ObtainAssembly ( String assembly ) : Assembly |
protected ApplyConfigurationSettings ( NHibernate.Cfg.Configuration cfg, IConfiguration facilityConfig ) : void | ||
cfg | NHibernate.Cfg.Configuration | |
facilityConfig | IConfiguration | |
return | void |
protected GenerateMappingFromAttributesIfNeeded ( NHibernate.Cfg.Configuration cfg, String targetAssembly ) : void | ||
cfg | NHibernate.Cfg.Configuration | NHibernate configuration |
targetAssembly | String | Target assembly name |
return | void |
protected RegisterAssemblies ( NHibernate.Cfg.Configuration cfg, IConfiguration facilityConfig ) : void | ||
cfg | NHibernate.Cfg.Configuration | |
facilityConfig | IConfiguration | |
return | void |
protected RegisterResources ( NHibernate.Cfg.Configuration cfg, IConfiguration facilityConfig ) : void | ||
cfg | NHibernate.Cfg.Configuration | |
facilityConfig | IConfiguration | |
return | void |
protected RegisterSessionFactoryResolver ( ) : void | ||
return | void |
protected RegisterTransactionManager ( ) : void | ||
return | void |