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