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