All docs
V21.1
21.1
20.2
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

DefaultReportDesignerContainer.RegisterObjectDataSourceWizardTypeProvider<T>() Method

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

Namespace: DevExpress.XtraReports.Web.ReportDesigner

Assembly: DevExpress.XtraReports.v21.1.Web.dll

Declaration

public static void RegisterObjectDataSourceWizardTypeProvider<T>()
    where T : IObjectDataSourceWizardTypeProvider

Type Parameters

Name Description
T

The type of the class that implements the IObjectDataSourceWizardTypeProvider interface.

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.

TIP

The following topics describe how to implement and register the IObjectDataSourceWizardTypeProvider interface to display data types in the Report Wizard and Object Data Source Wizard:

See Also