Click or drag to resize

ChapterRepository Methods

The ChapterRepository type exposes the following members.

Methods
 NameDescription
Protected methodBeforeSave Performs any operations required before saving an entity.
(Inherited from RepositoryT)
Protected methodClearAuxiliaryCaches Clears any additional cached data associated with this repository
(Inherited from RepositoryReadOnlyT)
Public methodClearCache Clears all cached data associated with this repository, for both top-level entities and all sub-entities
(Inherited from RepositoryReadOnlyT)
Public methodDelete Deletes a single entity from netFORUM's database
(Inherited from RepositoryT)
Public methodFind(ExpressionFuncT, Boolean, GetAllOptions) Retrieves a list of all entities matching a given set of search criteria
(Inherited from RepositoryReadOnlyT)
Public methodFind(ExpressionFuncT, Boolean, ExpressionFuncT, IEnumerableNetForumEntity) Retrieves a list of all entities matching a given set of search criteria
(Inherited from RepositoryReadOnlyT)
Public methodGetAll(ExpressionFuncT, IEnumerableNetForumEntity) Retrieves a list of all known entities managed by this repository
(Inherited from RepositoryReadOnlyT)
Public methodGetAll(GetAllOptions) Retrieves a list of all known entities managed by this repository
(Inherited from RepositoryReadOnlyT)
Public methodGetById(NetForumId) Retrieves a single entity by id
(Inherited from RepositoryReadOnlyT)
Protected methodInitializeSubEntities
(Overrides RepositoryReadOnlyTInitializeSubEntities(T))
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.
(Inherited from RepositoryReadOnlyT)
Protected methodRemoveFromCache Removes the entity with the specified id from the top-level entity cache if caching is enabled
(Inherited from RepositoryReadOnlyT)
Public methodSave Saves a single entity to netFORUM
(Inherited from RepositoryT)
Top
See Also