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