Class WorkflowStepOptionRecordDataExtensions
Inheritance
WorkflowStepOptionRecordDataExtensions
Assembly: SoDataBase.dll
Syntax
public static class WorkflowStepOptionRecordDataExtensions : Object
Methods
FromRecord(TargetedDataRecord<WorkflowStepOptionTableInfo>)
Declaration
public static WorkflowStepOptionRecordData FromRecord(this TargetedDataRecord<WorkflowStepOptionTableInfo> 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 { WorkflowStepOptionItem = r.FromRecord(), /* fetch other fields here */ });
FromSelect(TargetedSelect<WorkflowStepOptionTableInfo>)
From a TargetedSelect<WorkflowStepOptionTableInfo>, execute it and return an IEnumerable<WorkflowStepOptionRecordData> with the results
Declaration
public static IEnumerable<WorkflowStepOptionRecordData> FromSelect(this TargetedSelect<WorkflowStepOptionTableInfo> select)
Parameters
Returns
Examples
var s = S.NewSelect<DataRightTableInfo>( /* add meaningful restrictions here, or later */ );
var result = s.FromSelect();
ToInsert(WorkflowStepOptionRecordData)
Declaration
public static Insert ToInsert(this WorkflowStepOptionRecordData record)
Parameters
Returns
ToInserts(IEnumerable<WorkflowStepOptionRecordData>)
Declaration
public static IEnumerable<Insert> ToInserts(this IEnumerable<WorkflowStepOptionRecordData> records)
Parameters
Returns
ToRecordData(WorkflowStepOptionRow)
Declaration
public static WorkflowStepOptionRecordData ToRecordData(this WorkflowStepOptionRow row)
Parameters
Returns