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