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