Class RVInMemoryData

Base class that can be used as a helper class to implement IRVInMemoryData, you need to provide the data as an object implementing IEnumerable of IEnumerable objects (each object representing a cell in the data), and the list of fields in the schema. Each row returned by the 'Data' enumerable must have the same number of elements indicated in the schema, the order must be respected and values must be returned in the same order specified in the schema returned.

Inheritance
System.Object
RVInMemoryData
Implements
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 abstract class RVInMemoryData : IRVInMemoryData, IRVInMemoryDataProvider

Constructors

RVInMemoryData()

Declaration
protected RVInMemoryData()

Methods

GetData()

Override this method to return the data enumerable, each object in this enumerable is also another enumerable with all objects in the row

Declaration
public abstract IEnumerable<IEnumerable<object>> GetData()
Returns
Type Description
System.Collections.Generic.IEnumerable<System.Collections.Generic.IEnumerable<System.Object>>

The enumerable object that will return all in-memory data

GetSchema()

Returns the schema for this in-memory data, basically the list of columns with a name and type each.

Declaration
public abstract IEnumerable<RVSchemaColumn> GetSchema()
Returns
Type Description
System.Collections.Generic.IEnumerable<RVSchemaColumn>

Explicit Interface Implementations

IRVInMemoryDataProvider.GetDataIterator()

Declaration
IInMemoryDataIterator IRVInMemoryDataProvider.GetDataIterator()
Returns
Type Description
Infragistics.ReportPlus.DataLayer.IInMemoryDataIterator

IRVInMemoryDataProvider.GetTableSchema()

Declaration
List<TableSchemaColumn> IRVInMemoryDataProvider.GetTableSchema()
Returns
Type Description
System.Collections.Generic.List<Infragistics.ReportPlus.DataLayer.TableSchemaColumn>

Implements

IRVInMemoryData
IRVInMemoryDataProvider