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