RepositoryReadOnlyT Class

Provides a base class for read-only repositories for a given type of entity, T

Definition

Namespace: Ignition.Framework.Repositories
Assembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.3454
C#
public abstract class RepositoryReadOnly<T> : ICachingRepository
where T : new(), NetForumEntity
Inheritance
Object    RepositoryReadOnlyT
Derived
More
Implements
ICachingRepository

Type Parameters

T
The type of entity to be retrieved by this repository

Constructors

Properties

ConfigurationListProvider A way to access configuration lists defined in netFORUM
GeneralRepository A general repository available for use in all underlying entity and sub-entity operations
Settings Settings specifying how this repository should behave with regard to both entity and sub-entity management
ValueTypeProvider A ValueTypeProvider available for use in pulling any required value type sub-entities
Obsolete.

Methods

ClearAuxiliaryCaches Clears any additional cached data associated with this repository
ClearCache Clears all cached data associated with this repository, for both top-level entities and all sub-entities
Find(ExpressionFuncT, Boolean, GetAllOptions) Retrieves a list of all entities matching a given set of search criteria
Find(ExpressionFuncT, Boolean, ExpressionFuncT, IEnumerableNetForumEntity) Retrieves a list of all entities matching a given set of search criteria
FindTCustomEntity(ExpressionFuncTCustomEntity, Boolean, GetAllOptions) Retrieves a list of all entities matching a given set of search criteria
FindTCustomEntity(ExpressionFuncTCustomEntity, Boolean, ExpressionFuncTCustomEntity, IEnumerableNetForumEntity) Retrieves a list of all entities matching a given set of search criteria
GetAll(ExpressionFuncT, IEnumerableNetForumEntity) Retrieves a list of all known entities managed by this repository
GetAll(GetAllOptions) Retrieves a list of all known entities managed by this repository
GetAllTCustomEntity(ExpressionFuncTCustomEntity, IEnumerableNetForumEntity) Retrieves a list of all known entities managed by this repository
GetAllTCustomEntity(GetAllOptions) Retrieves a list of all known entities managed by this repository
GetById(NetForumId) Retrieves a single entity by id
GetByIdTCustomEntity(NetForumId) Retrieves a single entity by id
InitializeSubEntities Populates any of the sub-entities of the passed top-level entity that were not already populated by Ignition's auto-population mechanisms.
PrimeCache 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.
RemoveFromCache Removes the entity with the specified id from the top-level entity cache if caching is enabled

See Also