Class RVDataSourceSelection

Object indicating what was selected by the end user, it could be a data source (like a database) or a data source item (like a table in a database).

Inheritance
System.Object
RVDataSourceSelection
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Reveal.Sdk
Assembly: Reveal.UI.Sdk.dll
Syntax
public class RVDataSourceSelection

Properties

DataSource

The selected data source, null if a data source item was selected.

Declaration
public RVDashboardDataSource DataSource { get; }
Property Value
Type Description
RVDashboardDataSource

DataSourceItem

The selected data source item, null if a data source was selected.

Declaration
public RVDataSourceItem DataSourceItem { get; }
Property Value
Type Description
RVDataSourceItem

Methods

WithDataSource(RVDashboardDataSource)

Creates a selection object for a data source.

Declaration
public static RVDataSourceSelection WithDataSource(RVDashboardDataSource ds)
Parameters
Type Name Description
RVDashboardDataSource ds

the selected data source

Returns
Type Description
RVDataSourceSelection

A new selection object with a data source selected.

WithDataSourceItem(RVDataSourceItem)

Creates a selection object for a data source item.

Declaration
public static RVDataSourceSelection WithDataSourceItem(RVDataSourceItem dsItem)
Parameters
Type Name Description
RVDataSourceItem dsItem

the selected data source item

Returns
Type Description
RVDataSourceSelection

A new selection object with a data source item selected.