[]
        
(Showing Draft Content)

C1.PivotEngine.C1PivotEngine.GetRawData

GetRawData Method

GetRawData(string, string, CancellationToken)

Makes the entire raw source data collection accessible to the server's clients.

Declaration
public static Task<IList> GetRawData(string workspace, string table, CancellationToken cancelToken)
Public Shared Function GetRawData(workspace As String, table As String, cancelToken As CancellationToken) As Task(Of IList)
Parameters
Type Name Description
string workspace

Path in the server's file system where DataEngine data is saved in files.

string table

The name of a DataEngine table.

CancellationToken cancelToken

Enables task cancellation.

Returns
Type Description
Task<IList>

List of source data objects.

Remarks

It is recommended to use paging providing source data to the clients, because a DataEngine table can have a very large number of rows.

GetRawData(IEnumerable, CancellationToken)

Makes the entire raw source data collection accessible to the server's clients.

Declaration
public static Task<IList> GetRawData(IEnumerable dataSource, CancellationToken cancelToken)
Public Shared Function GetRawData(dataSource As IEnumerable, cancelToken As CancellationToken) As Task(Of IList)
Parameters
Type Name Description
IEnumerable dataSource

Data source collection.

CancellationToken cancelToken

Enables task cancellation.

Returns
Type Description
Task<IList>

List of source data objects.

Remarks

This method overload simply converts the source collection (which is an IEnumerable) to an IList.