DefaultReportDesignerContainer.RegisterObjectDataSourceMemberFilterService<T>() Method
Registers a class that implements the IObjectDataSourceMemberFilterService interface to filter type members in the Report Wizard and Data Source Wizard.
Namespace: DevExpress.XtraReports.Web.ReportDesigner
Assembly: DevExpress.XtraReports.v23.2.Web.dll
NuGet Package: DevExpress.Web.Reporting.Common
Declaration
public static void RegisterObjectDataSourceMemberFilterService<T>()
where T : IObjectDataSourceMemberFilterService
Type Parameters
Name | Description |
---|---|
T | The type of the class that implements the IObjectDataSourceMemberFilterService interface. |
Remarks
A class that implements the IObjectDataSourceMemberFilterService interface produces a filtered list of type members for the Report Wizard and Data Source Wizard. The RegisterObjectDataSourceMemberFilterService<T>() method registers this class. Call this method at the application’s start.
A registered class should provide a complete list of type members. Classes passed in previous RegisterObjectDataSourceMemberFilterService<T>() method calls are unregistered when you call this method again.
If the type’s member list is not provided, or the IObjectDataSourceMemberFilterService interface is not implemented or registered, the Report Wizard and Data Source Wizard display all members.
Tip
The following topics describe how to implement and register the IObjectDataSourceMemberFilterService interface to filter type members: