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