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