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