C# Class NHibernate3Sample.Autofac.Modules.NHibernateComponentModule

Inheritance: Autofac.Module
显示文件 Open project: thangchung/NHibernate3Sample

Public Methods

Method Description
BuildConfiguration ( ) : NHibernate.Cfg.Configuration
BuildPersistenceModel ( ) : AutoPersistenceModel
BuildSessionFactory ( NHibernate.Cfg.Configuration config ) : ISessionFactory
RegisterConponents ( ContainerBuilder builder, NHibernate.Cfg.Configuration config, ISessionFactory sessionFactory ) : void

Protected Methods

Method Description
Load ( ContainerBuilder builder ) : void

Private Methods

Method Description
BuildSchema ( NHibernate.Cfg.Configuration config ) : void

Method Details

BuildConfiguration() public method

public BuildConfiguration ( ) : NHibernate.Cfg.Configuration
return NHibernate.Cfg.Configuration

BuildPersistenceModel() public method

public BuildPersistenceModel ( ) : AutoPersistenceModel
return AutoPersistenceModel

BuildSessionFactory() public method

public BuildSessionFactory ( NHibernate.Cfg.Configuration config ) : ISessionFactory
config NHibernate.Cfg.Configuration
return ISessionFactory

Load() protected method

protected Load ( ContainerBuilder builder ) : void
builder Autofac.ContainerBuilder
return void

RegisterConponents() public method

public RegisterConponents ( ContainerBuilder builder, NHibernate.Cfg.Configuration config, ISessionFactory sessionFactory ) : void
builder Autofac.ContainerBuilder
config NHibernate.Cfg.Configuration
sessionFactory ISessionFactory
return void