Show / Hide Table of Contents

Class TaskHeadingLinkRecordDataExtensions

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

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

Methods

FromRecord(TargetedDataRecord<TaskHeadingLinkTableInfo>)

From a TargetedDataRecord<TaskHeadingLinkTableInfo>, create and populate a TaskHeadingLinkRecordData POCO object

Declaration
public static TaskHeadingLinkRecordData FromRecord(this TargetedDataRecord<TaskHeadingLinkTableInfo> record)
Parameters
Type Name Description
TargetedDataRecord<TaskHeadingLinkTableInfo> record
Returns
Type Description
TaskHeadingLinkRecordData
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 { TaskHeadingLinkItem = r.FromRecord(), /* fetch other fields here */ });

FromSelect(TargetedSelect<TaskHeadingLinkTableInfo>)

From a TargetedSelect<TaskHeadingLinkTableInfo>, execute it and return an IEnumerable<TaskHeadingLinkRecordData> with the results

Declaration
public static IEnumerable<TaskHeadingLinkRecordData> FromSelect(this TargetedSelect<TaskHeadingLinkTableInfo> select)
Parameters
Type Name Description
TargetedSelect<TaskHeadingLinkTableInfo> select
Returns
Type Description
IEnumerable<TaskHeadingLinkRecordData>
Examples
            var s = S.NewSelect<DataRightTableInfo>( /* add meaningful restrictions here, or later */ );
            var result = s.FromSelect();

ToInsert(TaskHeadingLinkRecordData)

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

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

ToInserts(IEnumerable<TaskHeadingLinkRecordData>)

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

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

ToRecordData(TaskHeadingLinkRow)

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

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