Skip to main content
A newer version of this page is available.

ReportDataSourceHelper.RegisterObjectSpaceProviderService(XtraReport) Method

Registers a service that supplies an IObjectSpace when it is required by the report data source.

Namespace: DevExpress.ExpressApp.ReportsV2

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

Declaration

public void RegisterObjectSpaceProviderService(
    XtraReport report
)

Parameters

Name Type Description
report XtraReport

An XtraReport object that specifies the report.

Remarks

The Data Sources for Reports V2 require the IObjectSpace to dynamically bind data. The RegisterObjectSpaceProviderService method is called by the ReportDataSourceHelper.SetupReport method. You can override the virtual CreateReportObjectSpaceProvider method to customize the RegisterObjectSpaceProviderService method behavior. To use your own implementation of the ReportDataSourceHelper class, assign its instance to the ReportsModuleV2.ReportsDataSourceHelper property.

See Also