Show / Hide Table of Contents

Class DeliveryTermsHeadingLinkRecordDataExtensions

Extension methods to make it easy to fetch DeliveryTermsHeadingLinkRecordData objects from the database, using the TargetedSelect infrastructure

Inheritance
object
DeliveryTermsHeadingLinkRecordDataExtensions
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public static class DeliveryTermsHeadingLinkRecordDataExtensions

Methods

FromRecord(TargetedDataRecord<DeliveryTermsHeadingLinkTableInfo>)

From a TargetedDataRecord<DeliveryTermsHeadingLinkTableInfo>, create and populate a DeliveryTermsHeadingLinkRecordData POCO object

Declaration
public static DeliveryTermsHeadingLinkRecordData FromRecord(this TargetedDataRecord<DeliveryTermsHeadingLinkTableInfo> record)
Parameters
Type Name Description
TargetedDataRecord<DeliveryTermsHeadingLinkTableInfo> record
Returns
Type Description
DeliveryTermsHeadingLinkRecordData
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
Type Name Description
TargetedSelect<DeliveryTermsHeadingLinkTableInfo> select
Returns
Type Description
IEnumerable<DeliveryTermsHeadingLinkRecordData>
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
Type Name Description
TargetedSelect<DeliveryTermsHeadingLinkTableInfo> select
CancellationToken cancellationToken
Returns
Type Description
IAsyncEnumerable<DeliveryTermsHeadingLinkRecordData>
Examples
var s = S.NewSelect<DataRightTableInfo>( /* add meaningful restrictions here, or later */ );
var result = s.FromSelect();

ToInsertAsync(DeliveryTermsHeadingLinkRecordData, CancellationToken)

Extension methods to make it easy to fetch DeliveryTermsHeadingLinkRecordData objects from the database, using the TargetedSelect infrastructure

Declaration
public static Task<Insert> ToInsertAsync(this DeliveryTermsHeadingLinkRecordData record, CancellationToken cancellationToken = default)
Parameters
Type Name Description
DeliveryTermsHeadingLinkRecordData record
CancellationToken cancellationToken
Returns
Type Description
Task<Insert>

ToInsertsAsync(IEnumerable<DeliveryTermsHeadingLinkRecordData>, CancellationToken)

Extension methods to make it easy to fetch DeliveryTermsHeadingLinkRecordData objects from the database, using the TargetedSelect infrastructure

Declaration
public static IAsyncEnumerable<Insert> ToInsertsAsync(this IEnumerable<DeliveryTermsHeadingLinkRecordData> records, CancellationToken cancellationToken = default)
Parameters
Type Name Description
IEnumerable<DeliveryTermsHeadingLinkRecordData> records
CancellationToken cancellationToken
Returns
Type Description
IAsyncEnumerable<Insert>

ToRecordData(DeliveryTermsHeadingLinkRow)

Extension methods to make it easy to fetch DeliveryTermsHeadingLinkRecordData objects from the database, using the TargetedSelect infrastructure

Declaration
public static DeliveryTermsHeadingLinkRecordData ToRecordData(this DeliveryTermsHeadingLinkRow row)
Parameters
Type Name Description
DeliveryTermsHeadingLinkRow row
Returns
Type Description
DeliveryTermsHeadingLinkRecordData
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top