Show / Hide Table of Contents

Class DeliveryTypeGroupLinkRecordDataExtensions

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

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

Methods

FromRecord(TargetedDataRecord<DeliveryTypeGroupLinkTableInfo>)

From a TargetedDataRecord<DeliveryTypeGroupLinkTableInfo>, create and populate a DeliveryTypeGroupLinkRecordData POCO object

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

FromSelect(TargetedSelect<DeliveryTypeGroupLinkTableInfo>)

From a TargetedSelect<DeliveryTypeGroupLinkTableInfo>, execute it and return an IEnumerable<DeliveryTypeGroupLinkRecordData> with the results

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

ToInsert(DeliveryTypeGroupLinkRecordData)

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

ToInserts(IEnumerable<DeliveryTypeGroupLinkRecordData>)

Declaration
public static IEnumerable<Insert> ToInserts(this IEnumerable<DeliveryTypeGroupLinkRecordData> records)
Parameters
Type Name Description
IEnumerable<DeliveryTypeGroupLinkRecordData> 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