Class DataTableBuilderUtil
Namespace: Workspace.XBR.Xperiflow.Utilities.AdoDataTable.Builder
Assembly: Xperiflow.dll
Declaration
public static class DataTableBuilderUtil
Methods
BuildDataTableColumnIndexMap(SessionInfo, DataTable)
Declaration
public static Dictionary<string, int> BuildDataTableColumnIndexMap(SessionInfo si, DataTable dt)
Returns
System.Collections.Generic.Dictionary<System.String,System.Int32>
Parameters
Type | Name |
---|---|
OneStream.Shared.Common.SessionInfo | si |
System.Data.DataTable | dt |
GetDataTableFromJsonObject(SessionInfo, JObject, string)
(Not Recommended for Use) Extracts a datatable from jsonified datatable. The json data is expected to be in the python pandas json datatable format. Use the datatable builder and genDataTableJson to build a datatable from a json datatable instead. It gives more control
Declaration
public static DataTable GetDataTableFromJsonObject(SessionInfo si, JObject jsonObject, string tableName = "Results")
Returns
System.Data.DataTable
Parameters
Type | Name |
---|---|
OneStream.Shared.Common.SessionInfo | si |
Newtonsoft.Json.Linq.JObject | jsonObject |
System.String | tableName |
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object,System.Object)
System.Object.GetHashCode
System.Object.GetType
System.Object.MemberwiseClone
System.Object.ReferenceEquals(System.Object,System.Object)
System.Object.ToString