ReportDataSourceHelperBase.RegisterObjectSpaceProviderService(XtraReport) Method
Registers a service that supplies an IObjectSpace when it is required by the report data source.
Namespace: DevExpress.ExpressApp.ReportsV2.Services
Assembly: DevExpress.ExpressApp.ReportsV2.v24.1.dll
NuGet Package: DevExpress.ExpressApp.ReportsV2
Declaration
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 ReportDataSourceHelperBase.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.