public abstract class Repository<T> : RepositoryReadOnly<T>,
ICachingRepository
where T : new(), NetForumEntity
Public MustInherit Class Repository(Of T As {New, NetForumEntity})
Inherits RepositoryReadOnly(Of T)
Implements ICachingRepository
generic<typename T>
where T : gcnew(), NetForumEntity
public ref class Repository abstract : public RepositoryReadOnly<T>,
ICachingRepository
[<AbstractClassAttribute>]
type Repository<'T when 'T : new() and NetForumEntity> =
class
inherit RepositoryReadOnly<'T>
interface ICachingRepository
end
RepositoryT(RepositorySettingsT) | Default constructor |
RepositoryT(IGeneralRepository, RepositorySettingsT) | Constructor for dependency injection |
ConfigurationListProvider |
A way to access configuration lists defined in netFORUM
(Inherited from RepositoryReadOnlyT) |
GeneralRepository |
A general repository available for use in all underlying entity and sub-entity operations
(Inherited from RepositoryReadOnlyT) |
Settings |
Settings specifying how this repository should behave with regard to both entity and sub-entity management
(Inherited from RepositoryReadOnlyT) |
ValueTypeProvider |
A ValueTypeProvider available for use in pulling any required value type sub-entities
(Inherited from RepositoryReadOnlyT) Obsolete. |
BeforeSave | Performs any operations required before saving an entity. |
ClearAuxiliaryCaches |
Clears any additional cached data associated with this repository
(Inherited from RepositoryReadOnlyT) |
ClearCache |
Clears all cached data associated with this repository, for both top-level entities and all sub-entities
(Inherited from RepositoryReadOnlyT) |
Delete | Deletes a single entity from netFORUM's database |
Find(ExpressionFuncT, Boolean, GetAllOptions) |
Retrieves a list of all entities matching a given set of search criteria
(Inherited from RepositoryReadOnlyT) |
Find(ExpressionFuncT, Boolean, ExpressionFuncT, IEnumerableNetForumEntity) |
Retrieves a list of all entities matching a given set of search criteria
(Inherited from RepositoryReadOnlyT) |
GetAll(ExpressionFuncT, IEnumerableNetForumEntity) |
Retrieves a list of all known entities managed by this repository
(Inherited from RepositoryReadOnlyT) |
GetAll(GetAllOptions) |
Retrieves a list of all known entities managed by this repository
(Inherited from RepositoryReadOnlyT) |
GetById(NetForumId) |
Retrieves a single entity by id
(Inherited from RepositoryReadOnlyT) |
InitializeSubEntities |
Populates any of the sub-entities of the passed top-level entity that were not already populated by Ignition's auto-population mechanisms.
(Inherited from RepositoryReadOnlyT) |
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.
(Inherited from RepositoryReadOnlyT) |
RemoveFromCache |
Removes the entity with the specified id from the top-level entity cache if caching is enabled
(Inherited from RepositoryReadOnlyT) |
Save | Saves a single entity to netFORUM |