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