Progress® Telerik® Reporting R3 2017

CacheFactoryCreateDatabaseCache Method

Creates new instance of database cache that will store cached data in a database.

Namespace:  Telerik.Reporting.Services.Engine
Assembly:  Telerik.Reporting (in Telerik.Reporting.dll)

Syntax

public static ICache CreateDatabaseCache(
	string backendName,
	string connectionString
)

Parameters

backendName
Type: SystemString
Specifies which database engine should be used.
connectionString
Type: SystemString
A connection string that should be used to connect to the cache database

Return Value

Type: ICache
The newly created cache instance.

Remarks

In order to use a database cache you should firstly use the Database Cache Configuration Tool in order to create the underplaying database and its schema.
Note that the database cache implementation relies on the Telerik OpenAccess so the following OpenAccess core libraries should be referenced: Telerik.OpenAccess.dll, Telerik.OpenAccess.35.Extensions.dll . Proper assembly binding redirects might apply.
See also: Configuring the Database Cache Provider

See Also