Show / Hide Table of Contents

Class TagsGroupLinkRecordDataExtensions

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

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

Methods

FromRecord(TargetedDataRecord<TagsGroupLinkTableInfo>)

From a TargetedDataRecord<TagsGroupLinkTableInfo>, create and populate a TagsGroupLinkRecordData POCO object

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

FromSelect(TargetedSelect<TagsGroupLinkTableInfo>)

From a TargetedSelect<TagsGroupLinkTableInfo>, execute it and return an IEnumerable<TagsGroupLinkRecordData> with the results

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

FromSelectAsync(TargetedSelect<TagsGroupLinkTableInfo>, CancellationToken)

From a TargetedSelect<TagsGroupLinkTableInfo>, execute it and return an IEnumerable<TagsGroupLinkRecordData> with the results

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

ToInsertAsync(TagsGroupLinkRecordData, CancellationToken)

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

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

ToInsertsAsync(IEnumerable<TagsGroupLinkRecordData>, CancellationToken)

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

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

ToRecordData(TagsGroupLinkRow)

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

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