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