Show / Hide Table of Contents

Class IntentHeadingLinkRecordDataExtensions

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

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

Methods

FromRecord(TargetedDataRecord<IntentHeadingLinkTableInfo>)

From a TargetedDataRecord<IntentHeadingLinkTableInfo>, create and populate a IntentHeadingLinkRecordData POCO object

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

FromSelect(TargetedSelect<IntentHeadingLinkTableInfo>)

From a TargetedSelect<IntentHeadingLinkTableInfo>, execute it and return an IEnumerable<IntentHeadingLinkRecordData> with the results

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

FromSelectAsync(TargetedSelect<IntentHeadingLinkTableInfo>, CancellationToken)

From a TargetedSelect<IntentHeadingLinkTableInfo>, execute it and return an IEnumerable<IntentHeadingLinkRecordData> with the results

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

ToInsertAsync(IntentHeadingLinkRecordData, CancellationToken)

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

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

ToInsertsAsync(IEnumerable<IntentHeadingLinkRecordData>, CancellationToken)

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

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

ToRecordData(IntentHeadingLinkRow)

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

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