Show / Hide Table of Contents

Class PaymentTypeGroupLinkRecordDataExtensions

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

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

Methods

FromRecord(TargetedDataRecord<PaymentTypeGroupLinkTableInfo>)

From a TargetedDataRecord<PaymentTypeGroupLinkTableInfo>, create and populate a PaymentTypeGroupLinkRecordData POCO object

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

FromSelect(TargetedSelect<PaymentTypeGroupLinkTableInfo>)

From a TargetedSelect<PaymentTypeGroupLinkTableInfo>, execute it and return an IEnumerable<PaymentTypeGroupLinkRecordData> with the results

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

ToInsert(PaymentTypeGroupLinkRecordData)

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

ToInserts(IEnumerable<PaymentTypeGroupLinkRecordData>)

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