DashboardViewer.CustomDBSchemaProviderEx Property
Allows you to specify a custom schema for the SQL Data Source.
Namespace: DevExpress.DashboardWin
Assembly: DevExpress.Dashboard.v24.2.Win.dll
NuGet Package: DevExpress.Win.Dashboard
#Declaration
[Browsable(false)]
[DefaultValue(null)]
public IDBSchemaProviderEx CustomDBSchemaProviderEx { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
IDBSchema |
null | An object that implements the IDBSchema |
#Remarks
To use a custom database schema provider for SQL data sources, implement the IDBSchemaProviderEx interface. To specify a custom database schema for SQL Data Sources, set the DashboardViewer.CustomDBSchemaProviderEx
property to an instance of the created class:
// The dashboardViewer1 variable is an instance of the DashboardViewer class.
dashboardViewer1.CustomDBSchemaProviderEx = new ManualDBSchemaProvider();
For more information on custom database schema providers in WinForms, refer to the following article: Custom Database Schema Provider.
The following example shows how to implement a custom database schema provider: