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