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