Skip to main content

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
TypeName
OneStream.Shared.Common.SessionInfosi
System.Data.DataTabledt

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
TypeName
OneStream.Shared.Common.SessionInfosi
Newtonsoft.Json.Linq.JObjectjsonObject
System.StringtableName

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

Was this page helpful?