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.1.Web.dll
NuGet Package: DevExpress.Web.Reporting.Common
Declaration
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:
See Also