Show / Hide Table of Contents

Class DeliveryTermsGroupLinkRecordDataExtensions

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

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

Methods

FromRecord(TargetedDataRecord<DeliveryTermsGroupLinkTableInfo>)

From a TargetedDataRecord<DeliveryTermsGroupLinkTableInfo>, create and populate a DeliveryTermsGroupLinkRecordData POCO object

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

FromSelect(TargetedSelect<DeliveryTermsGroupLinkTableInfo>)

From a TargetedSelect<DeliveryTermsGroupLinkTableInfo>, execute it and return an IEnumerable<DeliveryTermsGroupLinkRecordData> with the results

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

ToInsert(DeliveryTermsGroupLinkRecordData)

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

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

ToInserts(IEnumerable<DeliveryTermsGroupLinkRecordData>)

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

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

ToRecordData(DeliveryTermsGroupLinkRow)

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

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