CacheControllerRegisterCache Method |
Registers the cache specified under the connection string specified.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.4.0.0 (5.4.0)
Syntax public static void RegisterCache(
string connectionString,
IResultsetCache toRegister
)
Public Shared Sub RegisterCache (
connectionString As String,
toRegister As IResultsetCache
)
Parameters
- connectionString
- Type: SystemString
The connection string to register the cache under. Can be empty string, which will mean
the cache is used for all connections. If such a cache is registered, adding another cache will result in an exception.
If null, the empty string is assumed - toRegister
- Type: SD.LLBLGen.Pro.ORMSupportClassesIResultsetCache
The cache to register.
Exceptions See Also