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