Show / Hide Table of Contents

Class RejectReasonGroupLinkRecordDataExtensions

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

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

Methods

FromRecord(TargetedDataRecord<RejectReasonGroupLinkTableInfo>)

From a TargetedDataRecord<RejectReasonGroupLinkTableInfo>, create and populate a RejectReasonGroupLinkRecordData POCO object

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

FromSelect(TargetedSelect<RejectReasonGroupLinkTableInfo>)

From a TargetedSelect<RejectReasonGroupLinkTableInfo>, execute it and return an IEnumerable<RejectReasonGroupLinkRecordData> with the results

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

FromSelectAsync(TargetedSelect<RejectReasonGroupLinkTableInfo>, CancellationToken)

From a TargetedSelect<RejectReasonGroupLinkTableInfo>, execute it and return an IEnumerable<RejectReasonGroupLinkRecordData> with the results

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

ToInsertAsync(RejectReasonGroupLinkRecordData, CancellationToken)

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

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

ToInsertsAsync(IEnumerable<RejectReasonGroupLinkRecordData>, CancellationToken)

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

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

ToRecordData(RejectReasonGroupLinkRow)

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

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