Click or drag to resize

RepositoryReadOnlyT Class

Provides a base class for read-only repositories for a given type of entity, T
Inheritance Hierarchy
SystemObject
  Ignition.Framework.RepositoriesRepositoryReadOnlyT
    More

Namespace: Ignition.Framework.Repositories
Assembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.28229
Syntax
public abstract class RepositoryReadOnly<T> : ICachingRepository
where T : new(), NetForumEntity

Type Parameters

T
The type of entity to be retrieved by this repository

The RepositoryReadOnlyT type exposes the following members.

Constructors
Properties
 NameDescription
Protected propertyConfigurationListProvider A way to access configuration lists defined in netFORUM
Protected propertyGeneralRepository A general repository available for use in all underlying entity and sub-entity operations
Protected propertySettings Settings specifying how this repository should behave with regard to both entity and sub-entity management
Protected propertyValueTypeProviderObsolete.
A ValueTypeProvider available for use in pulling any required value type sub-entities
Top
Methods
 NameDescription
Protected methodClearAuxiliaryCaches Clears any additional cached data associated with this repository
Public methodClearCache Clears all cached data associated with this repository, for both top-level entities and all sub-entities
Public methodFind(ExpressionFuncT, Boolean, GetAllOptions) Retrieves a list of all entities matching a given set of search criteria
Public methodFind(ExpressionFuncT, Boolean, ExpressionFuncT, IEnumerableNetForumEntity) Retrieves a list of all entities matching a given set of search criteria
Public methodFindTCustomEntity(ExpressionFuncTCustomEntity, Boolean, GetAllOptions) Retrieves a list of all entities matching a given set of search criteria
Public methodFindTCustomEntity(ExpressionFuncTCustomEntity, Boolean, ExpressionFuncTCustomEntity, IEnumerableNetForumEntity) Retrieves a list of all entities matching a given set of search criteria
Public methodGetAll(ExpressionFuncT, IEnumerableNetForumEntity) Retrieves a list of all known entities managed by this repository
Public methodGetAll(GetAllOptions) Retrieves a list of all known entities managed by this repository
Public methodGetAllTCustomEntity(ExpressionFuncTCustomEntity, IEnumerableNetForumEntity) Retrieves a list of all known entities managed by this repository
Public methodGetAllTCustomEntity(GetAllOptions) Retrieves a list of all known entities managed by this repository
Public methodGetById(NetForumId) Retrieves a single entity by id
Public methodGetByIdTCustomEntity(NetForumId) Retrieves a single entity by id
Protected methodInitializeSubEntities Populates any of the sub-entities of the passed top-level entity that were not already populated by Ignition's auto-population mechanisms.
Public methodPrimeCache Retrieves and caches the set of all known entities managed by this repository, in order to increase the performance of future GetAll(GetAllOptions) and GetById(NetForumId) requests. Performance of Find(ExpressionFuncT, Boolean, GetAllOptions) requests will not be improved.
Protected methodRemoveFromCache Removes the entity with the specified id from the top-level entity cache if caching is enabled
Top
See Also
Inheritance Hierarchy