Back to Devexpress

DashboardViewer.CustomDBSchemaProviderEx Property

dashboard-devexpress-dot-dashboardwin-dot-dashboardviewer-e015440c.md

latest2.9 KB
Original Source

DashboardViewer.CustomDBSchemaProviderEx Property

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

Declaration

csharp
[Browsable(false)]
[DefaultValue(null)]
public IDBSchemaProviderEx CustomDBSchemaProviderEx { get; set; }
vb
<DefaultValue(Nothing)>
<Browsable(False)>
Public Property CustomDBSchemaProviderEx As IDBSchemaProviderEx

Property Value

TypeDefaultDescription
IDBSchemaProviderExnull

An object that implements the IDBSchemaProviderEx interface that provides a custom schema.

|

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:

cs
// 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:

View Example

Implements

CustomDBSchemaProviderEx

See Also

Custom Database Schema

CustomDBSchemaProviderEx

DashboardViewer Class

DashboardViewer Members

DevExpress.DashboardWin Namespace