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