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