Skip to main content

Interface IDataTableGenerator

An interface for generating a DataTable datarows and an initial set of DataColumn from another data format.

Workspace.XBR.Xperiflow.Utilities.AdoDataTable.Builder.DataTableBuilder uses IDataTableGenerator as a dataloader.

Namespace: Workspace.XBR.Xperiflow.Utilities.AdoDataTable.Builder

Assembly: Xperiflow.dll

Declaration
public interface IDataTableGenerator

Methods

CreateColumns(SessionInfo)

Specifies the list of data columns to be created for the DataRows.

Declaration
List<DataColumn> CreateColumns(SessionInfo si)
Returns

System.Collections.Generic.List<System.Data.DataColumn>

Parameters
TypeName
OneStream.Shared.Common.SessionInfosi

GenerateDataRows(SessionInfo, DataTable)

Generates DataRows that abide by the Column Index locations of the provided DataTable.

Note: Do not append the DataRows to the DataTable. DataTableBuilder will do that for you.

Declaration
IEnumerable<DataRow> GenerateDataRows(SessionInfo si, DataTable dt)
Returns

System.Collections.Generic.IEnumerable<System.Data.DataRow>

Parameters
TypeName
OneStream.Shared.Common.SessionInfosi
System.Data.DataTabledt

Was this page helpful?