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