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