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