Interface IRVInMemoryData
The interface representing in-memory data to be returned by IRVInMemoryDataProvider, please note data is returned as an IEnumerable, so there's no need to have all data loaded in memory. You would probably use the default implementation for this interface: RVInMemoryData<T>
Namespace: Reveal.Sdk.Data
Assembly: Reveal.UI.Sdk.dll
Syntax
public interface IRVInMemoryData
Methods
GetData()
Returns an IEnumerable object with all rows in this dataset, please note data is returned as an IEnumerable, so there's no need to have all data loaded in memory. For each row returned from this IEnumerable, the order of values must match the order specified in the collection returned by GetSchema()
Declaration
IEnumerable<IEnumerable<object>> GetData()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Collections.Generic.IEnumerable<System.Object>> |
GetSchema()
Returns the schema for this dataset, basically the list of columns (name and data type), data returned by GetData() must be returned in the same order than the columns defined by this method. When using the default implementation for this interface (RVInMemoryData<T>), you don't need to worry about this as it's resolved automatically by that implementation.
Declaration
IEnumerable<RVSchemaColumn> GetSchema()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<RVSchemaColumn> |