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