Class PaymentTermsGroupLinkRecordDataExtensions
Inheritance
PaymentTermsGroupLinkRecordDataExtensions
Assembly: SoDataBase.dll
Syntax
public static class PaymentTermsGroupLinkRecordDataExtensions : Object
Methods
FromRecord(TargetedDataRecord<PaymentTermsGroupLinkTableInfo>)
Declaration
public static PaymentTermsGroupLinkRecordData FromRecord(this TargetedDataRecord<PaymentTermsGroupLinkTableInfo> record)
Parameters
Returns
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 { PaymentTermsGroupLinkItem = r.FromRecord(), /* fetch other fields here */ });
FromSelect(TargetedSelect<PaymentTermsGroupLinkTableInfo>)
From a TargetedSelect<PaymentTermsGroupLinkTableInfo>, execute it and return an IEnumerable<PaymentTermsGroupLinkRecordData> with the results
Declaration
public static IEnumerable<PaymentTermsGroupLinkRecordData> FromSelect(this TargetedSelect<PaymentTermsGroupLinkTableInfo> select)
Parameters
Returns
Examples
var s = S.NewSelect<DataRightTableInfo>( /* add meaningful restrictions here, or later */ );
var result = s.FromSelect();
ToInsert(PaymentTermsGroupLinkRecordData)
Declaration
public static Insert ToInsert(this PaymentTermsGroupLinkRecordData record)
Parameters
Returns
ToInserts(IEnumerable<PaymentTermsGroupLinkRecordData>)
Declaration
public static IEnumerable<Insert> ToInserts(this IEnumerable<PaymentTermsGroupLinkRecordData> records)
Parameters
Returns
ToRecordData(PaymentTermsGroupLinkRow)
Declaration
public static PaymentTermsGroupLinkRecordData ToRecordData(this PaymentTermsGroupLinkRow row)
Parameters
Returns