C# Class Rebel.Hive.InMemoryProvider.EntityRepositoryFactory

Inheritance: Rebel.Hive.ProviderSupport.AbstractEntityRepositoryFactory
Mostrar archivo Open project: RebelCMS/rebelcmsxu5 Class Usage Examples

Public Methods

Method Description
EntityRepositoryFactory ( ProviderMetadata providerMetadata, AbstractRevisionRepositoryFactory revisionRepositoryFactory, AbstractSchemaRepositoryFactory schemaRepositoryFactory, IFrameworkContext frameworkContext, ProviderDependencyHelper dependencyHelper ) : Rebel.Framework
GetReadonlyRepository ( ) : AbstractReadonlyEntityRepository

Gets an AbstractReadonlyEntityRepository. It will have only read operations.

GetRepository ( ) : AbstractEntityRepository

Gets the session from the factory.

Protected Methods

Method Description
DisposeResources ( ) : void

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

Method Details

DisposeResources() protected method

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

EntityRepositoryFactory() public method

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

GetReadonlyRepository() public method

Gets an AbstractReadonlyEntityRepository. It will have only read operations.
public GetReadonlyRepository ( ) : AbstractReadonlyEntityRepository
return AbstractReadonlyEntityRepository

GetRepository() public method

Gets the session from the factory.
public GetRepository ( ) : AbstractEntityRepository
return AbstractEntityRepository