C# Class Rebel.Framework.Persistence.NHibernate.SchemaRepositoryFactory

Inheritance: AbstractSchemaRepositoryFactory
ファイルを表示 Open project: RebelCMS/rebelcmsxu5 Class Usage Examples

Public Methods

Method Description
GetReadonlyRepository ( ) : AbstractReadonlySchemaRepository
GetRepository ( ) : AbstractSchemaRepository
GetRepository ( NhProviderTransaction transaction, bool isReadonly ) : AbstractSchemaRepository

Get the repository with an existing transaction

SchemaRepositoryFactory ( ProviderMetadata providerMetadata, AbstractRevisionRepositoryFactory revisionRepositoryFactory, IFrameworkContext frameworkContext, ProviderDependencyHelper dependencyHelper ) : NHibernate

Protected Methods

Method Description
CreateSchemaRepository ( bool isReadOnly ) : AbstractSchemaRepository
DisposeResources ( ) : void

Private Methods

Method Description
SchemaRepositoryFactory ( ProviderMetadata providerMetadata, AbstractRevisionRepositoryFactory revisionRepositoryFactory, IFrameworkContext frameworkContext, ISession singleProvidedSession, bool leaveSessionOpenOnDispose ) : NHibernate

Method Details

CreateSchemaRepository() protected method

protected CreateSchemaRepository ( bool isReadOnly ) : AbstractSchemaRepository
isReadOnly bool
return AbstractSchemaRepository

DisposeResources() protected method

protected DisposeResources ( ) : void
return void

GetReadonlyRepository() public method

public GetReadonlyRepository ( ) : AbstractReadonlySchemaRepository
return AbstractReadonlySchemaRepository

GetRepository() public method

public GetRepository ( ) : AbstractSchemaRepository
return AbstractSchemaRepository

GetRepository() public method

Get the repository with an existing transaction
public GetRepository ( NhProviderTransaction transaction, bool isReadonly ) : AbstractSchemaRepository
transaction NhProviderTransaction
isReadonly bool
return AbstractSchemaRepository

SchemaRepositoryFactory() public method

public SchemaRepositoryFactory ( ProviderMetadata providerMetadata, AbstractRevisionRepositoryFactory revisionRepositoryFactory, IFrameworkContext frameworkContext, ProviderDependencyHelper dependencyHelper ) : NHibernate
providerMetadata Rebel.Framework.Persistence.ProviderSupport._Revised.ProviderMetadata
revisionRepositoryFactory AbstractRevisionRepositoryFactory
frameworkContext IFrameworkContext
dependencyHelper Rebel.Hive.ProviderSupport.ProviderDependencyHelper
return NHibernate