Show / Hide Table of Contents

Class MrMrsGroupLinkRecordDataExtensions

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

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

Methods

FromRecord(TargetedDataRecord<MrMrsGroupLinkTableInfo>)

From a TargetedDataRecord<MrMrsGroupLinkTableInfo>, create and populate a MrMrsGroupLinkRecordData POCO object

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

FromSelect(TargetedSelect<MrMrsGroupLinkTableInfo>)

From a TargetedSelect<MrMrsGroupLinkTableInfo>, execute it and return an IEnumerable<MrMrsGroupLinkRecordData> with the results

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

FromSelectAsync(TargetedSelect<MrMrsGroupLinkTableInfo>, CancellationToken)

From a TargetedSelect<MrMrsGroupLinkTableInfo>, execute it and return an IEnumerable<MrMrsGroupLinkRecordData> with the results

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

ToInsertAsync(MrMrsGroupLinkRecordData, CancellationToken)

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

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

ToInsertsAsync(IEnumerable<MrMrsGroupLinkRecordData>, CancellationToken)

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

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

ToRecordData(MrMrsGroupLinkRow)

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

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