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