Class QuoteApprReasonHeadingLinkRecordDataExtensions
Inheritance
QuoteApprReasonHeadingLinkRecordDataExtensions
Assembly: SoDataBase.dll
Syntax
public static class QuoteApprReasonHeadingLinkRecordDataExtensions
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();
FromSelectAsync(TargetedSelect<QuoteApprReasonHeadingLinkTableInfo>, CancellationToken)
From a TargetedSelect<QuoteApprReasonHeadingLinkTableInfo>, execute it and return an IEnumerable<QuoteApprReasonHeadingLinkRecordData> with the results
Declaration
[CreateSyncVersion(OmitNullableDirective = true)]
public static IAsyncEnumerable<QuoteApprReasonHeadingLinkRecordData> FromSelectAsync(this TargetedSelect<QuoteApprReasonHeadingLinkTableInfo> select, CancellationToken cancellationToken = default)
Parameters
Returns
Examples
var s = S.NewSelect<DataRightTableInfo>( /* add meaningful restrictions here, or later */ );
var result = s.FromSelect();
ToInsertAsync(QuoteApprReasonHeadingLinkRecordData, CancellationToken)
Declaration
public static Task<Insert> ToInsertAsync(this QuoteApprReasonHeadingLinkRecordData record, CancellationToken cancellationToken = default)
Parameters
Returns
ToInsertsAsync(IEnumerable<QuoteApprReasonHeadingLinkRecordData>, CancellationToken)
Declaration
public static IAsyncEnumerable<Insert> ToInsertsAsync(this IEnumerable<QuoteApprReasonHeadingLinkRecordData> records, CancellationToken cancellationToken = default)
Parameters
Returns
ToRecordData(QuoteApprReasonHeadingLinkRow)
Declaration
public static QuoteApprReasonHeadingLinkRecordData ToRecordData(this QuoteApprReasonHeadingLinkRow row)
Parameters
Returns