Show / Hide Table of Contents

Class NewsFeedItemRecipientRecordDataExtensions

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

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

Methods

FromRecord(TargetedDataRecord<NewsFeedItemRecipientTableInfo>)

From a TargetedDataRecord<NewsFeedItemRecipientTableInfo>, create and populate a NewsFeedItemRecipientRecordData POCO object

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

FromSelect(TargetedSelect<NewsFeedItemRecipientTableInfo>)

From a TargetedSelect<NewsFeedItemRecipientTableInfo>, execute it and return an IEnumerable<NewsFeedItemRecipientRecordData> with the results

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

FromSelectAsync(TargetedSelect<NewsFeedItemRecipientTableInfo>, CancellationToken)

From a TargetedSelect<NewsFeedItemRecipientTableInfo>, execute it and return an IEnumerable<NewsFeedItemRecipientRecordData> with the results

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

ToInsertAsync(NewsFeedItemRecipientRecordData, CancellationToken)

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

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

ToInsertsAsync(IEnumerable<NewsFeedItemRecipientRecordData>, CancellationToken)

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

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

ToRecordData(NewsFeedItemRecipientRow)

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

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