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