dashboard-devexpress-dot-dashboardwin-dot-dashboarddesigner-3eeb9c63.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 DashboardDesigner.CustomDBSchemaProviderEx property to an instance of the created class:
// The dashboardDesigner1 variable is an instance of the DashboardDesigner class.
dashboardDesigner1.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:
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CustomDBSchemaProviderEx property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
// Uncomment one of the following lines depending on the provider.
dashboardDesigner1.CustomDBSchemaProviderEx = new ManualDBSchemaProvider();
// dashboardDesigner1.CustomDBSchemaProviderEx = new LimitDBSchemaProvider();
' Uncomment one of the following lines depending on the provider.
dashboardDesigner1.CustomDBSchemaProviderEx = New ManualDBSchemaProvider()
' dashboardDesigner1.CustomDBSchemaProviderEx = new LimitDBSchemaProvider();
See Also