Skip to main content

DataSource(String, SqlDataProvider) Constructor

In This Article

Initializes a new instance of the DevExpress.DashboardCommon.DataSource class.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v24.2.Core.dll

NuGet Package: DevExpress.Dashboard.Core

#Declaration

public DataSource(
    string name,
    SqlDataProvider dataProvider
)

#Parameters

Name Type Description
name String

A String that specifies the name of the data source.

dataProvider SqlDataProvider

An DevExpress.DashboardCommon.SqlDataProvider object that specifies a data provider for regular data sources.

See Also