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