Class DataSourceUtility

Inheritance
System.Object
DataSourceUtility
Namespace: Reveal.Sdk.Data
Assembly: Infragistics.Reveal.SDK.Server.dll
Syntax
public static class DataSourceUtility : Object

Methods

ConvertToDashboardDataType(RVSchemaColumnType)

Internal Use.

Declaration
public static DashboardDataType ConvertToDashboardDataType(RVSchemaColumnType dataType)
Parameters
Type Name Description
RVSchemaColumnType dataType
Returns
Type Description
Infragistics.ReportPlus.DashboardModel.DashboardDataType

ConvertToModelDataSource(RVDashboardDataSource)

Declaration
public static BaseDataSource ConvertToModelDataSource(RVDashboardDataSource dataSource)
Parameters
Type Name Description
Reveal.Sdk.Data.RVDashboardDataSource dataSource
Returns
Type Description
Infragistics.ReportPlus.DashboardModel.BaseDataSource

CreateDataSourceIdentifiersDictionary(List<BaseDataSource>)

Declaration
public static CPDictionary CreateDataSourceIdentifiersDictionary(List<BaseDataSource> dataSources)
Parameters
Type Name Description
System.Collections.Generic.List<Infragistics.ReportPlus.DashboardModel.BaseDataSource> dataSources
Returns
Type Description
Infragistics.CPDictionary

CreateSdkDataSource(BaseDataSource)

Declaration
public static RVDashboardDataSource CreateSdkDataSource(BaseDataSource modelDataSource)
Parameters
Type Name Description
Infragistics.ReportPlus.DashboardModel.BaseDataSource modelDataSource
Returns
Type Description
Reveal.Sdk.Data.RVDashboardDataSource

CreateSdkDataSourceItem(BaseDataSourceItem, BaseDataSource, BaseDataSource)

Declaration
public static RVDataSourceItem CreateSdkDataSourceItem(BaseDataSourceItem modelDataSourceItem, BaseDataSource modelDataSource, BaseDataSource modelResourceSource)
Parameters
Type Name Description
Infragistics.ReportPlus.DashboardModel.BaseDataSourceItem modelDataSourceItem
Infragistics.ReportPlus.DashboardModel.BaseDataSource modelDataSource
Infragistics.ReportPlus.DashboardModel.BaseDataSource modelResourceSource
Returns
Type Description
Reveal.Sdk.Data.RVDataSourceItem

DefaultDataSourceId(BaseDataSource)

Declaration
public static string DefaultDataSourceId(BaseDataSource ds)
Parameters
Type Name Description
Infragistics.ReportPlus.DashboardModel.BaseDataSource ds
Returns
Type Description
System.String

ResolveDataSourceItem(List<BaseDataSource>, RVDataSourceItem, BaseDataSourceItem, CPDictionary)

Declaration
public static BaseDataSourceItem ResolveDataSourceItem(List<BaseDataSource> dataSources, RVDataSourceItem sdkDataSourceItem, BaseDataSourceItem dataSourceItem, CPDictionary dataSourceIdentifiersDict)
Parameters
Type Name Description
System.Collections.Generic.List<Infragistics.ReportPlus.DashboardModel.BaseDataSource> dataSources
Reveal.Sdk.Data.RVDataSourceItem sdkDataSourceItem
Infragistics.ReportPlus.DashboardModel.BaseDataSourceItem dataSourceItem
Infragistics.CPDictionary dataSourceIdentifiersDict
Returns
Type Description
Infragistics.ReportPlus.DashboardModel.BaseDataSourceItem