Class DataDrivenExecutableLibrary
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
dataTableDataTable
Returns
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
dataTableDataTablerowIdstringrowTypeSerializedType<IDataTableRow>
Returns
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
dataTableDataTableindexintrowTypeSerializedType<IDataTableRow>
Returns
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
dataTableManagerDataTableManagerThe manager that owns the data table.
namestringThe 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
managerTypeSerializedType<DataTableManager>The concrete data table manager type to resolve.
Returns
- DataTableManager
The resolved data table manager instance.