Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
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 | |
Результат | void |
protected GenerateMappingFromAttributesIfNeeded ( NHibernate.Cfg.Configuration cfg, String targetAssembly ) : void | ||
cfg | NHibernate.Cfg.Configuration | NHibernate configuration |
targetAssembly | String | Target assembly name |
Результат | void |
protected RegisterAssemblies ( NHibernate.Cfg.Configuration cfg, IConfiguration facilityConfig ) : void | ||
cfg | NHibernate.Cfg.Configuration | |
facilityConfig | IConfiguration | |
Результат | void |
protected RegisterResources ( NHibernate.Cfg.Configuration cfg, IConfiguration facilityConfig ) : void | ||
cfg | NHibernate.Cfg.Configuration | |
facilityConfig | IConfiguration | |
Результат | void |
protected RegisterSessionFactoryResolver ( ) : void | ||
Результат | void |
protected RegisterSessionManager ( ) : void | ||
Результат | void |
protected RegisterTransactionManager ( ) : void | ||
Результат | void |