RepositoryReadOnlyTRemoveFromCache Method
Removes the entity with the specified id from the top-level entity cache if caching is enabled
Namespace: Ignition.Framework.RepositoriesAssembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.3454
protected void RemoveFromCache(
NetForumId id
)
Protected Sub RemoveFromCache (
id As NetForumId
)
protected:
void RemoveFromCache(
NetForumId^ id
)
member RemoveFromCache :
id : NetForumId -> unit
Parameters
- id NetForumId
- Id of the entity to remove from the cache
This method should be used by a repository that needs to invalidate a single cache entry without clearing the entire cache,
typically because that repository has taken some action that it knows will invalidate a given entity in cache, such as saving
or deleting that entity.