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