C# 클래스 Rebel.Framework.Persistence.NHibernate.EntityRepositoryFactory

상속: Rebel.Hive.ProviderSupport.AbstractEntityRepositoryFactory
파일 보기 프로젝트 열기: RebelCMS/rebelcmsxu5 1 사용 예제들

공개 메소드들

메소드 설명
EntityRepositoryFactory ( ProviderMetadata providerMetadata, AbstractRevisionRepositoryFactory revisionRepositoryFactory, AbstractSchemaRepositoryFactory schemaRepositoryFactory, IFrameworkContext frameworkContext, ProviderDependencyHelper dependencyHelper ) : NHibernate
GetReadonlyRepository ( ) : AbstractReadonlyEntityRepository
GetRepository ( ) : AbstractEntityRepository

보호된 메소드들

메소드 설명
CreateEntityRepository ( bool isReadOnly ) : AbstractEntityRepository
DisposeResources ( ) : void

Handles the disposal of resources. Derived from abstract class DisposableObject which handles common required locking logic.

비공개 메소드들

메소드 설명
EntityRepositoryFactory ( ProviderMetadata providerMetadata, AbstractRevisionRepositoryFactory revisionRepositoryFactory, AbstractSchemaRepositoryFactory schemaRepositoryFactory, IFrameworkContext frameworkContext, ISession singleProvidedSession, bool leaveSessionOpenOnDispose ) : NHibernate

Initializes a new instance of the EntityRepositoryFactory class. This constructor is used internally for unit testing where a single session must be used irrespective of the NHibernate session factory mechanisms.

메소드 상세

CreateEntityRepository() 보호된 메소드

protected CreateEntityRepository ( bool isReadOnly ) : AbstractEntityRepository
isReadOnly bool
리턴 AbstractEntityRepository

DisposeResources() 보호된 메소드

Handles the disposal of resources. Derived from abstract class DisposableObject which handles common required locking logic.
protected DisposeResources ( ) : void
리턴 void

EntityRepositoryFactory() 공개 메소드

public EntityRepositoryFactory ( ProviderMetadata providerMetadata, AbstractRevisionRepositoryFactory revisionRepositoryFactory, AbstractSchemaRepositoryFactory schemaRepositoryFactory, IFrameworkContext frameworkContext, ProviderDependencyHelper dependencyHelper ) : NHibernate
providerMetadata Rebel.Framework.Persistence.ProviderSupport._Revised.ProviderMetadata
revisionRepositoryFactory AbstractRevisionRepositoryFactory
schemaRepositoryFactory AbstractSchemaRepositoryFactory
frameworkContext IFrameworkContext
dependencyHelper Rebel.Hive.ProviderSupport.ProviderDependencyHelper
리턴 NHibernate

GetReadonlyRepository() 공개 메소드

public GetReadonlyRepository ( ) : AbstractReadonlyEntityRepository
리턴 AbstractReadonlyEntityRepository

GetRepository() 공개 메소드

public GetRepository ( ) : AbstractEntityRepository
리턴 AbstractEntityRepository