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