Show / Hide Table of Contents

Class DeliveryTypeHeadingLinkRecordDataExtensions

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

Inheritance
Object
DeliveryTypeHeadingLinkRecordDataExtensions
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 DeliveryTypeHeadingLinkRecordDataExtensions

Methods

FromRecord(TargetedDataRecord<DeliveryTypeHeadingLinkTableInfo>)

From a TargetedDataRecord<DeliveryTypeHeadingLinkTableInfo>, create and populate a DeliveryTypeHeadingLinkRecordData POCO object

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

FromSelect(TargetedSelect<DeliveryTypeHeadingLinkTableInfo>)

From a TargetedSelect<DeliveryTypeHeadingLinkTableInfo>, execute it and return an IEnumerable<DeliveryTypeHeadingLinkRecordData> with the results

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

ToInsert(DeliveryTypeHeadingLinkRecordData)

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

ToInserts(IEnumerable<DeliveryTypeHeadingLinkRecordData>)

Declaration
public static IEnumerable<Insert> ToInserts(this IEnumerable<DeliveryTypeHeadingLinkRecordData> records)
Parameters
Type Name Description
IEnumerable<DeliveryTypeHeadingLinkRecordData> records
Returns
Type Description
IEnumerable<Insert>
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top