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