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