Class WorkflowStepOptionLinkRecordDataExtensions
Inheritance
WorkflowStepOptionLinkRecordDataExtensions
Assembly: SoDataBase.dll
Syntax
public static class WorkflowStepOptionLinkRecordDataExtensions
Methods
FromRecord(TargetedDataRecord<WorkflowStepOptionLinkTableInfo>)
Declaration
public static WorkflowStepOptionLinkRecordData FromRecord(this TargetedDataRecord<WorkflowStepOptionLinkTableInfo> 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 { WorkflowStepOptionLinkItem = r.FromRecord(), /* fetch other fields here */ });
FromSelect(TargetedSelect<WorkflowStepOptionLinkTableInfo>)
From a TargetedSelect<WorkflowStepOptionLinkTableInfo>, execute it and return an IEnumerable<WorkflowStepOptionLinkRecordData> with the results
Declaration
public static IEnumerable<WorkflowStepOptionLinkRecordData> FromSelect(this TargetedSelect<WorkflowStepOptionLinkTableInfo> select)
Parameters
Returns
Examples
var s = S.NewSelect<DataRightTableInfo>( /* add meaningful restrictions here, or later */ );
var result = s.FromSelect();
FromSelectAsync(TargetedSelect<WorkflowStepOptionLinkTableInfo>, CancellationToken)
From a TargetedSelect<WorkflowStepOptionLinkTableInfo>, execute it and return an IEnumerable<WorkflowStepOptionLinkRecordData> with the results
Declaration
[CreateSyncVersion(OmitNullableDirective = true)]
public static IAsyncEnumerable<WorkflowStepOptionLinkRecordData> FromSelectAsync(this TargetedSelect<WorkflowStepOptionLinkTableInfo> select, CancellationToken cancellationToken = default)
Parameters
Returns
Examples
var s = S.NewSelect<DataRightTableInfo>( /* add meaningful restrictions here, or later */ );
var result = s.FromSelect();
ToInsertAsync(WorkflowStepOptionLinkRecordData, CancellationToken)
Declaration
public static Task<Insert> ToInsertAsync(this WorkflowStepOptionLinkRecordData record, CancellationToken cancellationToken = default)
Parameters
Returns
ToInsertsAsync(IEnumerable<WorkflowStepOptionLinkRecordData>, CancellationToken)
Declaration
public static IAsyncEnumerable<Insert> ToInsertsAsync(this IEnumerable<WorkflowStepOptionLinkRecordData> records, CancellationToken cancellationToken = default)
Parameters
Returns
ToRecordData(WorkflowStepOptionLinkRow)
Declaration
public static WorkflowStepOptionLinkRecordData ToRecordData(this WorkflowStepOptionLinkRow row)
Parameters
Returns