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