Skip to main content
.NET 8.0+

PredefinedReportsUpdater(XafApplication, IObjectSpace, Version) Constructor

Initializes a new instance of the PredefinedReportsUpdater class.

Namespace: DevExpress.ExpressApp.ReportsV2

Assembly: DevExpress.ExpressApp.ReportsV2.v24.2.dll

Declaration

public PredefinedReportsUpdater(
    XafApplication application,
    IObjectSpace objectSpace,
    Version currentDBVersion
)

Parameters

Name Type Description
application XafApplication

An XafApplication object that manages the current XAF application.

objectSpace IObjectSpace

An IObjectSpace object that is the business objects cache.

currentDBVersion Version

A System.Version object that represents the module version saved in the database.

Remarks

By default, each new PredefinedReportsUpdater instance removes predefined reports that are not registered within this instance. If you implement your reports in several modules and need to create multiple PredefinedReportsUpdater objects in a single application, set the PredefinedReportsUpdater.UseMultipleUpdaters property of each updater to true.

See Also