Class WorkflowStepRecordDataExtensions
Extension methods to make it easy to fetch WorkflowStepRecordData objects from the database,
using the infrastructure
Inheritance
WorkflowStepRecordDataExtensions
Assembly: SoDataBase.dll
Syntax
public static class WorkflowStepRecordDataExtensions : Object
Methods
FromRecord(TargetedDataRecord<WorkflowStepTableInfo>)
Declaration
public static WorkflowStepRecordData FromRecord(this TargetedDataRecord<WorkflowStepTableInfo> record)
Parameters
Returns
Examples
var s = S.NewSelect<DataRightTableInfo>( /* add meaningful restrictions here, or later */ );
/* add joins, return fields etc. as you wish */
s.ReturnFields.Add(s.Table.All);
var result = s.Records().Select(r => new { WorkflowStepItem = r.FromRecord(), /* fetch other fields here */ });
FromSelect(TargetedSelect<WorkflowStepTableInfo>)
From a TargetedSelect<WorkflowStepTableInfo>, execute it and return an IEnumerable<WorkflowStepRecordData> with the results
Declaration
public static IEnumerable<WorkflowStepRecordData> FromSelect(this TargetedSelect<WorkflowStepTableInfo> select)
Parameters
Returns
Examples
var s = S.NewSelect<DataRightTableInfo>( /* add meaningful restrictions here, or later */ );
var result = s.FromSelect();
ToInsert(WorkflowStepRecordData)
Extension methods to make it easy to fetch WorkflowStepRecordData objects from the database,
using the infrastructure
Declaration
public static Insert ToInsert(this WorkflowStepRecordData record)
Parameters
Returns
ToInserts(IEnumerable<WorkflowStepRecordData>)
Extension methods to make it easy to fetch WorkflowStepRecordData objects from the database,
using the infrastructure
Declaration
public static IEnumerable<Insert> ToInserts(this IEnumerable<WorkflowStepRecordData> records)
Parameters
Returns
ToRecordData(WorkflowStepRow)
Extension methods to make it easy to fetch WorkflowStepRecordData objects from the database,
using the infrastructure
Declaration
public static WorkflowStepRecordData ToRecordData(this WorkflowStepRow row)
Parameters
Returns