Class RVCsvDataSourceItem

The data source item used to represent a dataset from a CSV file, it includes optional settings like the separator to use when parsing the data.

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

Constructors

RVCsvDataSourceItem(IRVResourceItem)

Creates a new CSV item getting data from the specified resource item.

Declaration
public RVCsvDataSourceItem(IRVResourceItem resourceItem)
Parameters
Type Name Description
IRVResourceItem resourceItem

The resource item to download the file from.

RVCsvDataSourceItem(IRVResourceItem, BaseDataSourceItem)

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

Properties

DateFormat

Optional date format to use when parsing/detecting date columns, if not specified Reveal will try to infer the date format to use for each column (if it detects the column is a date, date time or time column).

Declaration
public string DateFormat { get; set; }
Property Value
Type Description
System.String

Encoding

The encoding to use, if not specified Reveal will try to detect it automatically.

Declaration
public string Encoding { get; set; }
Property Value
Type Description
System.String

Separator

The separator to use, one of ',', ';', or 'TAB'. If not specified it will be detected automatically.

Declaration
public string Separator { get; set; }
Property Value
Type Description
System.String

Methods

CreateModelDataSourceItem()

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