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