Show / Hide Table of Contents

Class ReasonStalledGroupLinkRecordDataExtensions

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

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

Methods

FromRecord(TargetedDataRecord<ReasonStalledGroupLinkTableInfo>)

From a TargetedDataRecord<ReasonStalledGroupLinkTableInfo>, create and populate a ReasonStalledGroupLinkRecordData POCO object

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

FromSelect(TargetedSelect<ReasonStalledGroupLinkTableInfo>)

From a TargetedSelect<ReasonStalledGroupLinkTableInfo>, execute it and return an IEnumerable<ReasonStalledGroupLinkRecordData> with the results

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

FromSelectAsync(TargetedSelect<ReasonStalledGroupLinkTableInfo>, CancellationToken)

From a TargetedSelect<ReasonStalledGroupLinkTableInfo>, execute it and return an IEnumerable<ReasonStalledGroupLinkRecordData> with the results

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

ToInsertAsync(ReasonStalledGroupLinkRecordData, CancellationToken)

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

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

ToInsertsAsync(IEnumerable<ReasonStalledGroupLinkRecordData>, CancellationToken)

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

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

ToRecordData(ReasonStalledGroupLinkRow)

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

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