Skip to main content
All docs
V24.2

IStorageDbInitializer.InitDbSchema() Method

Initializes database tables for the XPO-based cache storages (XpoDocumentStorage, XpoExportedDocumentStorage, and XpoReportStorage).

Namespace: DevExpress.XtraReports.Web.WebDocumentViewer

Assembly: DevExpress.XtraReports.v24.2.Web.dll

NuGet Package: DevExpress.Web.Reporting.Common

Declaration

void InitDbSchema()

Remarks

You can only call the InitDbSchema method if you specify a database connection string in the UseDbStorage method, which is run at the application start:

ASP.NET Core ASP.NET Web Forms & MVC
UseDbStorage(String) UseDbStorage(String)

For the Microsoft SQL Server database, the InitDbSchema method creates the XPObjectType, XpoDocumentStorageEntity, XpoExportedDocumentStorageEntity, and XpoReportStorageEntity tables, as the following image shows:

InitDbSchema Created Cache Tables

See Also