C# Class BoC.Persistence.NHibernate.NHibernateConfigHelper

ファイルを表示 Open project: csteeg/BoC

Public Properties

Property Type Description
CurrentSessionContextClass string

Public Methods

Method Description
GetDefaultSQLiteConfig ( string connectionStringKey ) : IPersistenceConfigurer
GetDefaultSqlServerConfig ( string connectionStringKey ) : IPersistenceConfigurer
SetupAutoMapperForEntities ( IPersistenceConfigurer database, IDependencyResolver dependencyResolver ) : NHibernate.Cfg.Configuration

Method Details

GetDefaultSQLiteConfig() public static method

public static GetDefaultSQLiteConfig ( string connectionStringKey ) : IPersistenceConfigurer
connectionStringKey string
return IPersistenceConfigurer

GetDefaultSqlServerConfig() public static method

public static GetDefaultSqlServerConfig ( string connectionStringKey ) : IPersistenceConfigurer
connectionStringKey string
return IPersistenceConfigurer

SetupAutoMapperForEntities() public static method

public static SetupAutoMapperForEntities ( IPersistenceConfigurer database, IDependencyResolver dependencyResolver ) : NHibernate.Cfg.Configuration
database IPersistenceConfigurer
dependencyResolver IDependencyResolver
return NHibernate.Cfg.Configuration

Property Details

CurrentSessionContextClass public_oe static_oe property

public static string CurrentSessionContextClass
return string