Class SShipmentAddrRecordDataExtensions
Extension methods to make it easy to fetch SShipmentAddrRecordData objects from the database,
using the infrastructure
Inheritance
SShipmentAddrRecordDataExtensions
Assembly: SoDataBase.dll
Syntax
public static class SShipmentAddrRecordDataExtensions : Object
Methods
FromRecord(TargetedDataRecord<SShipmentAddrTableInfo>)
Declaration
public static SShipmentAddrRecordData FromRecord(this TargetedDataRecord<SShipmentAddrTableInfo> 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 { SShipmentAddrItem = r.FromRecord(), /* fetch other fields here */ });
FromSelect(TargetedSelect<SShipmentAddrTableInfo>)
From a TargetedSelect<SShipmentAddrTableInfo>, execute it and return an IEnumerable<SShipmentAddrRecordData> with the results
Declaration
public static IEnumerable<SShipmentAddrRecordData> FromSelect(this TargetedSelect<SShipmentAddrTableInfo> select)
Parameters
Returns
Examples
var s = S.NewSelect<DataRightTableInfo>( /* add meaningful restrictions here, or later */ );
var result = s.FromSelect();
ToInsert(SShipmentAddrRecordData)
Extension methods to make it easy to fetch SShipmentAddrRecordData objects from the database,
using the infrastructure
Declaration
public static Insert ToInsert(this SShipmentAddrRecordData record)
Parameters
Returns
ToInserts(IEnumerable<SShipmentAddrRecordData>)
Extension methods to make it easy to fetch SShipmentAddrRecordData objects from the database,
using the infrastructure
Declaration
public static IEnumerable<Insert> ToInserts(this IEnumerable<SShipmentAddrRecordData> records)
Parameters
Returns
ToRecordData(SShipmentAddrRow)
Extension methods to make it easy to fetch SShipmentAddrRecordData objects from the database,
using the infrastructure
Declaration
public static SShipmentAddrRecordData ToRecordData(this SShipmentAddrRow row)
Parameters
Returns