Show / Hide Table of Contents

Class IntentGroupLinkRecordDataExtensions

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

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

Methods

FromRecord(TargetedDataRecord<IntentGroupLinkTableInfo>)

From a TargetedDataRecord<IntentGroupLinkTableInfo>, create and populate a IntentGroupLinkRecordData POCO object

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

FromSelect(TargetedSelect<IntentGroupLinkTableInfo>)

From a TargetedSelect<IntentGroupLinkTableInfo>, execute it and return an IEnumerable<IntentGroupLinkRecordData> with the results

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

FromSelectAsync(TargetedSelect<IntentGroupLinkTableInfo>, CancellationToken)

From a TargetedSelect<IntentGroupLinkTableInfo>, execute it and return an IEnumerable<IntentGroupLinkRecordData> with the results

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

ToInsertAsync(IntentGroupLinkRecordData, CancellationToken)

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

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

ToInsertsAsync(IEnumerable<IntentGroupLinkRecordData>, CancellationToken)

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

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

ToRecordData(IntentGroupLinkRow)

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

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