Show / Hide Table of Contents

Class UDListHeadingLinkRecordDataExtensions

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

Inheritance
object
UDListHeadingLinkRecordDataExtensions
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 UDListHeadingLinkRecordDataExtensions

Methods

FromRecord(TargetedDataRecord<UDListHeadingLinkTableInfo>)

From a TargetedDataRecord<UDListHeadingLinkTableInfo>, create and populate a UDListHeadingLinkRecordData POCO object

Declaration
public static UDListHeadingLinkRecordData FromRecord(this TargetedDataRecord<UDListHeadingLinkTableInfo> record)
Parameters
Type Name Description
TargetedDataRecord<UDListHeadingLinkTableInfo> record
Returns
Type Description
UDListHeadingLinkRecordData
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 { UDListHeadingLinkItem = r.FromRecord(), /* fetch other fields here */ });

FromSelect(TargetedSelect<UDListHeadingLinkTableInfo>)

From a TargetedSelect<UDListHeadingLinkTableInfo>, execute it and return an IEnumerable<UDListHeadingLinkRecordData> with the results

Declaration
public static IEnumerable<UDListHeadingLinkRecordData> FromSelect(this TargetedSelect<UDListHeadingLinkTableInfo> select)
Parameters
Type Name Description
TargetedSelect<UDListHeadingLinkTableInfo> select
Returns
Type Description
IEnumerable<UDListHeadingLinkRecordData>
Examples
var s = S.NewSelect<DataRightTableInfo>( /* add meaningful restrictions here, or later */ );
var result = s.FromSelect();

FromSelectAsync(TargetedSelect<UDListHeadingLinkTableInfo>, CancellationToken)

From a TargetedSelect<UDListHeadingLinkTableInfo>, execute it and return an IEnumerable<UDListHeadingLinkRecordData> with the results

Declaration
[CreateSyncVersion(OmitNullableDirective = true)]
public static IAsyncEnumerable<UDListHeadingLinkRecordData> FromSelectAsync(this TargetedSelect<UDListHeadingLinkTableInfo> select, CancellationToken cancellationToken = default)
Parameters
Type Name Description
TargetedSelect<UDListHeadingLinkTableInfo> select
CancellationToken cancellationToken
Returns
Type Description
IAsyncEnumerable<UDListHeadingLinkRecordData>
Examples
var s = S.NewSelect<DataRightTableInfo>( /* add meaningful restrictions here, or later */ );
var result = s.FromSelect();

ToInsertAsync(UDListHeadingLinkRecordData, CancellationToken)

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

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

ToInsertsAsync(IEnumerable<UDListHeadingLinkRecordData>, CancellationToken)

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

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

ToRecordData(UDListHeadingLinkRow)

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

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