SqlDataSource Class

An SQL data source that provides data for the dashboard.

Declaration

export class SqlDataSource extends DataSource

Inheritance

DataSource
SqlDataSource

Implements

DevExpress.Analytics.Utils.ISerializableModel
DevExpress.Dashboard.Internal.Model.IDashboardComponent

Constructors

Constructor

Declaration

constructor(dataSourceJSON?: any, serializer?: DevExpress.Analytics.Utils.ModelSerializer)

Parameters

Type Name Description
any dataSourceJSON
ModelSerializer serializer

Properties

connection Property

Declaration

connection: SqlConnection

Property Value

Type Description
SqlConnection

queries Property

Declaration

queries: KnockoutObservableArray<DevExpress.Analytics.Data.Utils.ISqlQueryViewModel>

Property Value

Type Description
KnockoutObservableArray<ISqlQueryViewModel>

Methods

getDisplayNamePrefix Method

Declaration

getDisplayNamePrefix(): string

Returns

Type Description
string

getInfo Method

Declaration

getInfo(): DevExpress.Analytics.Utils.ISerializationsInfo

Returns

Type Description
ISerializationsInfo