C# Class Amss.Boilerplate.Persistence.Impl.Configuration.DatabaseConfigurator

Datei anzeigen Open project: quadio/amss-boilerplate

Public Methods

Method Description
CreateDatabase ( ) : void
CreateSessionFactory ( ) : ISessionFactory
DatabaseExists ( ) : bool
ExportSqlSchema ( string file ) : void

Protected Methods

Method Description
CreatePersistenceConfigurator ( ) : IPersistenceConfigurer
CreateProductionSchema ( ) : FluentConfiguration
GetSqlExceptionConverterType ( ) : Type
RuntimeConnectionString ( FluentNHibernate.Cfg.Db.ConnectionStringBuilder connectionStringBuilder ) : void

Method Details

CreateDatabase() public method

public CreateDatabase ( ) : void
return void

CreatePersistenceConfigurator() protected abstract method

protected abstract CreatePersistenceConfigurator ( ) : IPersistenceConfigurer
return IPersistenceConfigurer

CreateProductionSchema() protected method

protected CreateProductionSchema ( ) : FluentConfiguration
return FluentNHibernate.Cfg.FluentConfiguration

CreateSessionFactory() public method

public CreateSessionFactory ( ) : ISessionFactory
return ISessionFactory

DatabaseExists() public abstract method

public abstract DatabaseExists ( ) : bool
return bool

ExportSqlSchema() public method

public ExportSqlSchema ( string file ) : void
file string
return void

GetSqlExceptionConverterType() protected method

protected GetSqlExceptionConverterType ( ) : Type
return System.Type

RuntimeConnectionString() protected method

protected RuntimeConnectionString ( FluentNHibernate.Cfg.Db.ConnectionStringBuilder connectionStringBuilder ) : void
connectionStringBuilder FluentNHibernate.Cfg.Db.ConnectionStringBuilder
return void