Skip to main content

ReportDesignerConfigurationBuilder.RegisterObjectDataSourceWizardTypeProvider<T>() Method

Registers a class that implements the IObjectDataSourceWizardTypeProvider interface to list types in the Report Wizard and Data Source Wizard.

Namespace: DevExpress.AspNetCore.Reporting

Assembly: DevExpress.AspNetCore.Reporting.v23.2.dll

NuGet Package: DevExpress.AspNetCore.Reporting

Declaration

public ReportDesignerConfigurationBuilder RegisterObjectDataSourceWizardTypeProvider<T>()
    where T : class, IObjectDataSourceWizardTypeProvider

Type Parameters

Name Description
T

The type of the class that implements the IObjectDataSourceWizardTypeProvider interface.

Returns

Type Description
ReportDesignerConfigurationBuilder

A ReportDesignerConfigurationBuilder class instance.

Remarks

A class that implements the IObjectDataSourceWizardTypeProvider interface produces the list of types for the Report Wizard and Data Source Wizard. The RegisterObjectDataSourceWizardTypeProvider<T>() method registers this class. Call this method at the application’s start.

A registered class should provide a complete list of data types. Classes passed in previous RegisterObjectDataSourceWizardTypeProvider<T>() method calls are unregistered when you call this method again.

You can also use the RegisterObjectDataSourceConstructorFilterService<T>() method to register a class that filters type constructors, and the RegisterObjectDataSourceMemberFilterService<T>() method to register a class that filters type members.

See the Business Object - Register Types topic for information on how to implement and register the IObjectDataSourceWizardTypeProvider interface to display data types in the Report Wizard and Object Data Source Wizard.

See Also