• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class DatabaseProvider

DatabaseProvider implements the OutputCachingProvider for database storage.

Inheritance
System.Object
OutputCachingProvider
DatabaseProvider
Inherited Members
OutputCachingProvider.GetProviderList()
OutputCachingProvider.Instance(String)
OutputCachingProvider.RemoveItemFromAllProviders(Int32)
OutputCachingProvider.GenerateCacheKey(Int32, StringCollection, StringCollection, SortedDictionary<String, String>)
OutputCachingProvider.ByteArrayToString(Byte[])
OutputCachingProvider.GenerateCacheKeyHash(Int32, String)
OutputCachingProvider.WriteStreamAsText(HttpContext, Stream, Int64, Int64)
Namespace: DotNetNuke.Services.OutputCache.Providers
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
OutputCachingProvider.GetItemCount(Int32)
| 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
OutputCachingProvider.GetOutput(Int32, String)
| 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
Type Description
OutputCacheResponseFilter
Overrides
OutputCachingProvider.GetResponseFilter(Int32, Int32, Stream, String, TimeSpan)
| 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
OutputCachingProvider.PurgeCache(Int32)
| 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
OutputCachingProvider.PurgeExpiredItems(Int32)
| 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
OutputCachingProvider.Remove(Int32)
| 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
OutputCachingProvider.SetOutput(Int32, String, TimeSpan, Byte[])
| 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
OutputCachingProvider.StreamOutput(Int32, String, HttpContext)

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS