dashboard-devexpress-dot-dashboardwin-dot-dashboardviewer-e015440c.md
Allows you to specify a custom schema for the SQL Data Source.
Namespace : DevExpress.DashboardWin
Assembly : DevExpress.Dashboard.v25.2.Win.dll
NuGet Package : DevExpress.Win.Dashboard
[Browsable(false)]
[DefaultValue(null)]
public IDBSchemaProviderEx CustomDBSchemaProviderEx { get; set; }
<DefaultValue(Nothing)>
<Browsable(False)>
Public Property CustomDBSchemaProviderEx As IDBSchemaProviderEx
| Type | Default | Description |
|---|---|---|
| IDBSchemaProviderEx | null |
An object that implements the IDBSchemaProviderEx interface that provides a custom schema.
|
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:
See Also