[]
Lists fields with their types and provides other metadata for a DataEngine table.
public static Task<Dictionary<string, object>> GetMetadata(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<Dictionary<string, object>> | Dictionary containing key/value pairs for metadata parts, where key is the name of the part. |
Currently supported metadata parts are:
"fields": IList collection containing field information, objects with properties Name (string) and Type (System.Type)
"rowCount": Number of rows in the DataEngine table
Lists fields with their types and provides other metadata for a data source.
public static Task<Dictionary<string, object>> GetMetadata(IEnumerable dataSource, CancellationToken cancelToken)
Type | Name | Description |
---|---|---|
IEnumerable | dataSource | Data source collection. |
CancellationToken | cancelToken | Enables task cancellation. |
Type | Description |
---|---|
Task<Dictionary<string, object>> | Dictionary containing key/value pairs for metadata parts, where key is the name of the part. |
Currently supported metadata parts are:
"fields": IList collection containing field information, objects with properties Name (string) and Type (System.Type)
"rowCount": Number of rows in the data source