PredefinedReportsUpdater(XafApplication, IObjectSpace, Version) Constructor

Initializes a new instance of the PredefinedReportsUpdater class.

Namespace: DevExpress.ExpressApp.ReportsV2

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

Declaration

public PredefinedReportsUpdater(
    XafApplication application,
    IObjectSpace objectSpace,
    Version currentDBVersion
)
Public Sub New(
    application As XafApplication,
    objectSpace As IObjectSpace,
    currentDBVersion As Version
)

Parameters

Type Name Description
XafApplication application

An XafApplication object that manages the current XAF application.

IObjectSpace objectSpace

An IObjectSpace object that is the business objects cache.

Version currentDBVersion

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