메소드 | 설명 | |
---|---|---|
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 |