[]
Makes the entire raw source data collection accessible to the server's clients.
public static Task<IList> GetRawData(string workspace, string table, CancellationToken cancelToken)
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. |
Type | Description |
---|---|
Task<IList> | List of source data objects. |
It is recommended to use paging providing source data to the clients, because a DataEngine table can have a very large number of rows.
Makes the entire raw source data collection accessible to the server's clients.
public static Task<IList> GetRawData(IEnumerable dataSource, CancellationToken cancelToken)
Type | Name | Description |
---|---|---|
IEnumerable | dataSource | Data source collection. |
CancellationToken | cancelToken | Enables task cancellation. |
Type | Description |
---|---|
Task<IList> | List of source data objects. |
This method overload simply converts the source collection (which is an IEnumerable) to an IList.