Class PaymentTypeGroupLinkRecordDataExtensions
Inheritance
PaymentTypeGroupLinkRecordDataExtensions
Assembly: SoDataBase.dll
Syntax
public static class PaymentTypeGroupLinkRecordDataExtensions : Object
Methods
FromRecord(TargetedDataRecord<PaymentTypeGroupLinkTableInfo>)
Declaration
public static PaymentTypeGroupLinkRecordData FromRecord(this TargetedDataRecord<PaymentTypeGroupLinkTableInfo> 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 { 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
Returns
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
Returns
ToInserts(IEnumerable<PaymentTypeGroupLinkRecordData>)
Declaration
public static IEnumerable<Insert> ToInserts(this IEnumerable<PaymentTypeGroupLinkRecordData> records)
Parameters
Returns
ToRecordData(PaymentTypeGroupLinkRow)
Declaration
public static PaymentTypeGroupLinkRecordData ToRecordData(this PaymentTypeGroupLinkRow row)
Parameters
Returns