Show / Hide Table of Contents

Class ExtAppHeadingLinkRecordDataExtensions

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

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

Methods

FromRecord(TargetedDataRecord<ExtAppHeadingLinkTableInfo>)

From a TargetedDataRecord<ExtAppHeadingLinkTableInfo>, create and populate a ExtAppHeadingLinkRecordData POCO object

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

FromSelect(TargetedSelect<ExtAppHeadingLinkTableInfo>)

From a TargetedSelect<ExtAppHeadingLinkTableInfo>, execute it and return an IEnumerable<ExtAppHeadingLinkRecordData> with the results

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

ToInsert(ExtAppHeadingLinkRecordData)

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

ToInserts(IEnumerable<ExtAppHeadingLinkRecordData>)

Declaration
public static IEnumerable<Insert> ToInserts(this IEnumerable<ExtAppHeadingLinkRecordData> records)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<ExtAppHeadingLinkRecordData> records
Returns
Type Description
System.Collections.Generic.IEnumerable<Insert>

ToRecordData(ExtAppHeadingLinkRow)

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