Click or drag to resize
ResultsetCache Class
Default implementation of the resultsetcache interface.
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.ORMSupportClassesResultsetCache

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.3.0.0 (5.3.0)
Syntax
public class ResultsetCache : IResultsetCache

The ResultsetCache type exposes the following members.

Constructors
  NameDescription
Public methodResultsetCache
Initializes a new instance of the ResultsetCache class.
Public methodResultsetCache(Int32)
Initializes a new instance of the ResultsetCache class.
Top
Methods
  NameDescription
Public methodAdd(CacheKey, CachedResultset, TimeSpan)
Adds the specified toCache to this cache under the key specified for the duration specified
Public methodAdd(CacheKey, CachedResultset, TimeSpan, Boolean)
Adds the specified toCache to this cache under the key specified for the duration specified
Public methodAdd(CacheKey, CachedResultset, TimeSpan, Boolean, String)
Adds the specified toCache to this cache under the key specified for the duration specified
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGet(String)
Gets the cached resultsets with the tag specified.
Public methodGet(CacheKey)
Gets the cached resultset under the key specified.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPurgeResultset
Purges the resultset cached under the key specified from the cache, if present.
Public methodPurgeResultsets
Purges the resultsets cached with the tag specified from the cache, if present.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
Thread safe. Create one instance per connection string
See Also