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