Class RVResourceBasedDataSourceItem

The base abstract class representing a data source item getting data from a file (a resource). This is the base class for CSV, Excel and JSON data source items. It contains the reference to the resource item providing the file, for example a CSV file from a Web Resource URL will be represented as a RVCsvDataSourceItem referencing a RVWebResourceDataSourceItem.

Inheritance
System.Object
RVResourceBasedDataSourceItem
Namespace: Reveal.Sdk.Data
Assembly: Infragistics.Reveal.DataLayer.dll
Syntax
public abstract class RVResourceBasedDataSourceItem : RVDataSourceItem, IDataSourceItem

Constructors

RVResourceBasedDataSourceItem(RVDashboardDataSource, IRVResourceItem)

Declaration
public RVResourceBasedDataSourceItem(RVDashboardDataSource dataSource, IRVResourceItem resourceItem)
Parameters
Type Name Description
RVDashboardDataSource dataSource
IRVResourceItem resourceItem

RVResourceBasedDataSourceItem(RVDashboardDataSource, IRVResourceItem, BaseDataSourceItem)

Declaration
public RVResourceBasedDataSourceItem(RVDashboardDataSource dataSource, IRVResourceItem resourceItem, BaseDataSourceItem modelDataSourceItem)
Parameters
Type Name Description
RVDashboardDataSource dataSource
IRVResourceItem resourceItem
Infragistics.ReportPlus.DashboardModel.BaseDataSourceItem modelDataSourceItem

Properties

ResourceItem

The resource item used to get the data for the referenced file, must be an item from one of the resource providers: Sharepoint, Web Resource, REST API, etc.

Declaration
public IRVResourceItem ResourceItem { get; set; }
Property Value
Type Description
IRVResourceItem

Methods

CreateModelDataSourceItem()

Declaration
public override BaseDataSourceItem CreateModelDataSourceItem()
Returns
Type Description
Infragistics.ReportPlus.DashboardModel.BaseDataSourceItem
Overrides
RVDataSourceItem.CreateModelDataSourceItem()