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