Class DatabaseProvider
DatabaseProvider implements the OutputCachingProvider for database storage.
Inheritance
System.Object
DatabaseProvider
Assembly: DotNetNuke.dll
Syntax
public class DatabaseProvider : OutputCachingProvider
Methods
|
Improve this Doc
View Source
GetItemCount(Int32)
DatabaseProvider implements the OutputCachingProvider for database storage.
Declaration
public override int GetItemCount(int tabId)
Parameters
Type |
Name |
Description |
System.Int32 |
tabId |
|
Returns
Type |
Description |
System.Int32 |
|
Overrides
|
Improve this Doc
View Source
GetOutput(Int32, String)
DatabaseProvider implements the OutputCachingProvider for database storage.
Declaration
public override byte[] GetOutput(int tabId, string cacheKey)
Parameters
Type |
Name |
Description |
System.Int32 |
tabId |
|
System.String |
cacheKey |
|
Returns
Type |
Description |
System.Byte[] |
|
Overrides
|
Improve this Doc
View Source
GetResponseFilter(Int32, Int32, Stream, String, TimeSpan)
DatabaseProvider implements the OutputCachingProvider for database storage.
Declaration
public override OutputCacheResponseFilter GetResponseFilter(int tabId, int maxVaryByCount, Stream responseFilter, string cacheKey, TimeSpan cacheDuration)
Parameters
Type |
Name |
Description |
System.Int32 |
tabId |
|
System.Int32 |
maxVaryByCount |
|
Stream |
responseFilter |
|
System.String |
cacheKey |
|
TimeSpan |
cacheDuration |
|
Returns
Overrides
|
Improve this Doc
View Source
PurgeCache(Int32)
DatabaseProvider implements the OutputCachingProvider for database storage.
Declaration
public override void PurgeCache(int portalId)
Parameters
Type |
Name |
Description |
System.Int32 |
portalId |
|
Overrides
|
Improve this Doc
View Source
PurgeExpiredItems(Int32)
DatabaseProvider implements the OutputCachingProvider for database storage.
Declaration
public override void PurgeExpiredItems(int portalId)
Parameters
Type |
Name |
Description |
System.Int32 |
portalId |
|
Overrides
|
Improve this Doc
View Source
Remove(Int32)
DatabaseProvider implements the OutputCachingProvider for database storage.
Declaration
public override void Remove(int tabId)
Parameters
Type |
Name |
Description |
System.Int32 |
tabId |
|
Overrides
|
Improve this Doc
View Source
SetOutput(Int32, String, TimeSpan, Byte[])
DatabaseProvider implements the OutputCachingProvider for database storage.
Declaration
public override void SetOutput(int tabId, string cacheKey, TimeSpan duration, byte[] output)
Parameters
Type |
Name |
Description |
System.Int32 |
tabId |
|
System.String |
cacheKey |
|
TimeSpan |
duration |
|
System.Byte[] |
output |
|
Overrides
|
Improve this Doc
View Source
StreamOutput(Int32, String, HttpContext)
DatabaseProvider implements the OutputCachingProvider for database storage.
Declaration
public override bool StreamOutput(int tabId, string cacheKey, HttpContext context)
Parameters
Type |
Name |
Description |
System.Int32 |
tabId |
|
System.String |
cacheKey |
|
HttpContext |
context |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
Extension Methods