The requested page is not available for the requested platform. You are viewing the content for Default platform.

DbDocumentStorage Class

A database storage used by the CachedReportSource component to cache the document that it generates to display/export/print a report.

Namespace: DevExpress.XtraPrinting.Caching

Assembly: DevExpress.XtraReports.v19.1.dll

Declaration

public class DbDocumentStorage :
    DocumentStorage,
    IDisposable
Public Class DbDocumentStorage
    Inherits DocumentStorage
    Implements IDisposable

Remarks

You can associate the CachedReportSource component with a DbDocumentStorage object to store the generated documents in the table of the database specified by the ConnectionString/ConnectionName property.

The following code demonstrates how to create a DbDocumentStorage object that stores documents in a SQL Server Express database.

using DevExpress.XtraPrinting.Caching; 
... 
var connectionString = "Data Source=.\SQLEXPRESS;Initial Catalog=MyStorage;Integrated Security=True;MultipleActiveResultSets=True"; 
var storage = new DbDocumentStorage(connectionString);  

Inheritance

Object
DocumentStorage
DbDocumentStorage

Implements

See Also