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