Show / Hide Table of Contents

Class WorkflowRootStepLinkRecordDataExtensions

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

Inheritance
Object
WorkflowRootStepLinkRecordDataExtensions
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public static class WorkflowRootStepLinkRecordDataExtensions : Object

Methods

FromRecord(TargetedDataRecord<WorkflowRootStepLinkTableInfo>)

From a TargetedDataRecord<WorkflowRootStepLinkTableInfo>, create and populate a WorkflowRootStepLinkRecordData POCO object

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

ToInsert(WorkflowRootStepLinkRecordData)

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

Declaration
public static Insert ToInsert(this WorkflowRootStepLinkRecordData record)
Parameters
Type Name Description
WorkflowRootStepLinkRecordData record
Returns
Type Description
Insert

ToInserts(IEnumerable<WorkflowRootStepLinkRecordData>)

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

Declaration
public static IEnumerable<Insert> ToInserts(this IEnumerable<WorkflowRootStepLinkRecordData> records)
Parameters
Type Name Description
IEnumerable<WorkflowRootStepLinkRecordData> records
Returns
Type Description
IEnumerable<Insert>

ToRecordData(WorkflowRootStepLinkRow)

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

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