Class CategoryGroupLinkRecordDataExtensions
Extension methods to make it easy to fetch CategoryGroupLinkRecordData objects from the database,
using the TargetedSelect infrastructure
Inheritance
CategoryGroupLinkRecordDataExtensions
Assembly: SoDataBase.dll
Syntax
public static class CategoryGroupLinkRecordDataExtensions
Methods
FromRecord(TargetedDataRecord<CategoryGroupLinkTableInfo>)
Declaration
public static CategoryGroupLinkRecordData FromRecord(this TargetedDataRecord<CategoryGroupLinkTableInfo> 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 { CategoryGroupLinkItem = r.FromRecord(), /* fetch other fields here */ });
FromSelect(TargetedSelect<CategoryGroupLinkTableInfo>)
From a TargetedSelect<CategoryGroupLinkTableInfo>, execute it and return an IEnumerable<CategoryGroupLinkRecordData> with the results
Declaration
public static IEnumerable<CategoryGroupLinkRecordData> FromSelect(this TargetedSelect<CategoryGroupLinkTableInfo> select)
Parameters
Returns
Examples
var s = S.NewSelect<DataRightTableInfo>( /* add meaningful restrictions here, or later */ );
var result = s.FromSelect();
ToInsert(CategoryGroupLinkRecordData)
Extension methods to make it easy to fetch CategoryGroupLinkRecordData objects from the database,
using the TargetedSelect infrastructure
Declaration
public static Insert ToInsert(this CategoryGroupLinkRecordData record)
Parameters
Returns
ToInserts(IEnumerable<CategoryGroupLinkRecordData>)
Extension methods to make it easy to fetch CategoryGroupLinkRecordData objects from the database,
using the TargetedSelect infrastructure
Declaration
public static IEnumerable<Insert> ToInserts(this IEnumerable<CategoryGroupLinkRecordData> records)
Parameters
Returns
ToRecordData(CategoryGroupLinkRow)
Extension methods to make it easy to fetch CategoryGroupLinkRecordData objects from the database,
using the TargetedSelect infrastructure
Declaration
public static CategoryGroupLinkRecordData ToRecordData(this CategoryGroupLinkRow row)
Parameters
Returns