Table of Contents

Class DataDrivenExecutableLibrary

Namespace
Ceres.Flow.Utilities
Assembly
Ceres.Flow.dll

Provides Ceres.DataDriven table access helpers for Flow graphs.

[CeresGroup("DataDriven")]
public class DataDrivenExecutableLibrary : ExecutableFunctionLibrary
Inheritance
DataDrivenExecutableLibrary
Inherited Members

Constructors

DataDrivenExecutableLibrary()

public DataDrivenExecutableLibrary()

Methods

CollectExecutableFunctions()

Collect all static executable functions in this library

protected override void CollectExecutableFunctions()

Flow_DataTableGetAllRows(DataTable)

Gets all rows from the data table.

[ExecutableFunction(IsScriptMethod = true)]
[CeresLabel("Get All Rows")]
public static IDataTableRow[] Flow_DataTableGetAllRows(DataTable dataTable)

Parameters

dataTable DataTable

Returns

IDataTableRow[]

Flow_DataTableGetRow(DataTable, string, SerializedType<IDataTableRow>)

Gets a data row from the table by row id.

[ExecutableFunction(IsScriptMethod = true)]
[CeresLabel("Get Row")]
public static IDataTableRow Flow_DataTableGetRow(DataTable dataTable, string rowId, SerializedType<IDataTableRow> rowType)

Parameters

dataTable DataTable
rowId string
rowType SerializedType<IDataTableRow>

Returns

IDataTableRow

Flow_DataTableGetRowByIndex(DataTable, int, SerializedType<IDataTableRow>)

Gets a data row from the table by index.

[ExecutableFunction(IsScriptMethod = true)]
[CeresLabel("Get Row By Index")]
public static IDataTableRow Flow_DataTableGetRowByIndex(DataTable dataTable, int index, SerializedType<IDataTableRow> rowType)

Parameters

dataTable DataTable
index int
rowType SerializedType<IDataTableRow>

Returns

IDataTableRow

Flow_DataTableManagerGetDataTable(DataTableManager, string)

Gets a named data table from the target manager.

[ExecutableFunction(IsScriptMethod = true, SearchAliases = "Get DataTable, DataTable")]
[CeresLabel("Get Data Table")]
public static DataTable Flow_DataTableManagerGetDataTable(DataTableManager dataTableManager, string name)

Parameters

dataTableManager DataTableManager

The manager that owns the data table.

name string

The data table name.

Returns

DataTable

The matching data table, or null when it is not found.

Flow_GetDataTableManager(SerializedType<DataTableManager>)

Gets or creates a data table manager of the selected manager type.

[ExecutableFunction(SearchAliases = "Get DataTable Manager, DataTable Manager")]
[CeresLabel("Get Data Table Manager")]
public static DataTableManager Flow_GetDataTableManager(SerializedType<DataTableManager> managerType)

Parameters

managerType SerializedType<DataTableManager>

The concrete data table manager type to resolve.

Returns

DataTableManager

The resolved data table manager instance.