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