Class WorkflowGoalRecordDataExtensions
Extension methods to make it easy to fetch WorkflowGoalRecordData objects from the database,
using the infrastructure
Inheritance
WorkflowGoalRecordDataExtensions
Assembly: SoDataBase.dll
Syntax
public static class WorkflowGoalRecordDataExtensions : Object
Methods
FromRecord(TargetedDataRecord<WorkflowGoalTableInfo>)
Declaration
public static WorkflowGoalRecordData FromRecord(this TargetedDataRecord<WorkflowGoalTableInfo> 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 { WorkflowGoalItem = r.FromRecord(), /* fetch other fields here */ });
FromSelect(TargetedSelect<WorkflowGoalTableInfo>)
From a TargetedSelect<WorkflowGoalTableInfo>, execute it and return an IEnumerable<WorkflowGoalRecordData> with the results
Declaration
public static IEnumerable<WorkflowGoalRecordData> FromSelect(this TargetedSelect<WorkflowGoalTableInfo> select)
Parameters
Returns
Examples
var s = S.NewSelect<DataRightTableInfo>( /* add meaningful restrictions here, or later */ );
var result = s.FromSelect();
ToInsert(WorkflowGoalRecordData)
Extension methods to make it easy to fetch WorkflowGoalRecordData objects from the database,
using the infrastructure
Declaration
public static Insert ToInsert(this WorkflowGoalRecordData record)
Parameters
Returns
ToInserts(IEnumerable<WorkflowGoalRecordData>)
Extension methods to make it easy to fetch WorkflowGoalRecordData objects from the database,
using the infrastructure
Declaration
public static IEnumerable<Insert> ToInserts(this IEnumerable<WorkflowGoalRecordData> records)
Parameters
Returns
ToRecordData(WorkflowGoalRow)
Extension methods to make it easy to fetch WorkflowGoalRecordData objects from the database,
using the infrastructure
Declaration
public static WorkflowGoalRecordData ToRecordData(this WorkflowGoalRow row)
Parameters
Returns