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