Show / Hide Table of Contents

Class WorkflowWaitForActionRecordDataExtensions

Extension methods to make it easy to fetch WorkflowWaitForActionRecordData objects from the database, using the TargetedSelect infrastructure

Inheritance
object
WorkflowWaitForActionRecordDataExtensions
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public static class WorkflowWaitForActionRecordDataExtensions

Methods

FromRecord(TargetedDataRecord<WorkflowWaitForActionTableInfo>)

From a TargetedDataRecord<WorkflowWaitForActionTableInfo>, create and populate a WorkflowWaitForActionRecordData POCO object

Declaration
public static WorkflowWaitForActionRecordData FromRecord(this TargetedDataRecord<WorkflowWaitForActionTableInfo> record)
Parameters
Type Name Description
TargetedDataRecord<WorkflowWaitForActionTableInfo> record
Returns
Type Description
WorkflowWaitForActionRecordData
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
Type Name Description
TargetedSelect<WorkflowWaitForActionTableInfo> select
Returns
Type Description
IEnumerable<WorkflowWaitForActionRecordData>
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
Type Name Description
TargetedSelect<WorkflowWaitForActionTableInfo> select
CancellationToken cancellationToken
Returns
Type Description
IAsyncEnumerable<WorkflowWaitForActionRecordData>
Examples
var s = S.NewSelect<DataRightTableInfo>( /* add meaningful restrictions here, or later */ );
var result = s.FromSelect();

ToInsertAsync(WorkflowWaitForActionRecordData, CancellationToken)

Extension methods to make it easy to fetch WorkflowWaitForActionRecordData objects from the database, using the TargetedSelect infrastructure

Declaration
public static Task<Insert> ToInsertAsync(this WorkflowWaitForActionRecordData record, CancellationToken cancellationToken = default)
Parameters
Type Name Description
WorkflowWaitForActionRecordData record
CancellationToken cancellationToken
Returns
Type Description
Task<Insert>

ToInsertsAsync(IEnumerable<WorkflowWaitForActionRecordData>, CancellationToken)

Extension methods to make it easy to fetch WorkflowWaitForActionRecordData objects from the database, using the TargetedSelect infrastructure

Declaration
public static IAsyncEnumerable<Insert> ToInsertsAsync(this IEnumerable<WorkflowWaitForActionRecordData> records, CancellationToken cancellationToken = default)
Parameters
Type Name Description
IEnumerable<WorkflowWaitForActionRecordData> records
CancellationToken cancellationToken
Returns
Type Description
IAsyncEnumerable<Insert>

ToRecordData(WorkflowWaitForActionRow)

Extension methods to make it easy to fetch WorkflowWaitForActionRecordData objects from the database, using the TargetedSelect infrastructure

Declaration
public static WorkflowWaitForActionRecordData ToRecordData(this WorkflowWaitForActionRow row)
Parameters
Type Name Description
WorkflowWaitForActionRow row
Returns
Type Description
WorkflowWaitForActionRecordData
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top