Show / Hide Table of Contents

Class NewsFeedItemRecordData

POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the NewsFeedItem table.

Inheritance
object
NewsFeedItemRecordData
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 class NewsFeedItemRecordData
Remarks

Please use this class instead of a full NewsFeedItemRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding NewsFeedItemTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Constructors

NewsFeedItemRecordData()

POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the NewsFeedItem table.

Declaration
public NewsFeedItemRecordData()
Remarks

Please use this class instead of a full NewsFeedItemRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding NewsFeedItemTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Fields

ApplicationId

The id of the application that registered this news item. Used to resolve where any CTA should be posted when clicked.

Declaration
public string ApplicationId
Field Value
Type Description
string
Remarks

Please use this class instead of a full NewsFeedItemRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding NewsFeedItemTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

ContactId

Related contact id - 0 if not related to a contact

Declaration
public int ContactId
Field Value
Type Description
int
Remarks

Please use this class instead of a full NewsFeedItemRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding NewsFeedItemTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

ExpiresAt

When the news item expires and should no longer be shown in feeds (UTC) in UTC.

Declaration
public DateTime ExpiresAt
Field Value
Type Description
DateTime
Remarks

Please use this class instead of a full NewsFeedItemRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding NewsFeedItemTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

FromCategoryName

Type of the instance that published this item. e.g. Prospector Agent

Declaration
public string FromCategoryName
Field Value
Type Description
string
Remarks

Please use this class instead of a full NewsFeedItemRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding NewsFeedItemTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

FromName

Name of the instance that published this item. e.g. Pete the prospector

Declaration
public string FromName
Field Value
Type Description
string
Remarks

Please use this class instead of a full NewsFeedItemRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding NewsFeedItemTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

ImageLink

URL Link to an image associated with the news item.

Declaration
public string ImageLink
Field Value
Type Description
string
Remarks

Please use this class instead of a full NewsFeedItemRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding NewsFeedItemTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

NewsFeedItemId

Primary key

Declaration
public int NewsFeedItemId
Field Value
Type Description
int
Remarks

Please use this class instead of a full NewsFeedItemRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding NewsFeedItemTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

PersonId

Related person id - 0 if not related to a person

Declaration
public int PersonId
Field Value
Type Description
int
Remarks

Please use this class instead of a full NewsFeedItemRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding NewsFeedItemTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

PreviewHint

Preview hint for the news item. e.g. {contact_id=123}

Declaration
public string PreviewHint
Field Value
Type Description
string
Remarks

Please use this class instead of a full NewsFeedItemRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding NewsFeedItemTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Priority

Importance of the news item. Low to High. Higher priority items may be shown more prominently in the feed.

Declaration
public EMailPriority Priority
Field Value
Type Description
EMailPriority
Remarks

Please use this class instead of a full NewsFeedItemRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding NewsFeedItemTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

ProjectId

Related project id - 0 if not related to a project

Declaration
public int ProjectId
Field Value
Type Description
int
Remarks

Please use this class instead of a full NewsFeedItemRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding NewsFeedItemTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Registered

Registered when in UTC.

Declaration
public DateTime Registered
Field Value
Type Description
DateTime
Remarks

Please use this class instead of a full NewsFeedItemRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding NewsFeedItemTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

RegisteredAssociateId

Registered by whom

Declaration
public int RegisteredAssociateId
Field Value
Type Description
int
Remarks

Please use this class instead of a full NewsFeedItemRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding NewsFeedItemTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

SaleId

Related sale id - 0 if not related to a sale

Declaration
public int SaleId
Field Value
Type Description
int
Remarks

Please use this class instead of a full NewsFeedItemRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding NewsFeedItemTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

SourceLink

URL Link to the source of the news item, or an SOProtocol link to a SuperOffice item

Declaration
public string SourceLink
Field Value
Type Description
string
Remarks

Please use this class instead of a full NewsFeedItemRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding NewsFeedItemTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Status

Indicates if the item is being handled by a CTA. (normal, processing, processed)

Declaration
public NewsFeedItemStatus Status
Field Value
Type Description
NewsFeedItemStatus
Remarks

Please use this class instead of a full NewsFeedItemRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding NewsFeedItemTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Summary

Short, descriptive summary. Plain text summary. Multi-language string supported: 'US:"english";NO:"norsk"'.

Declaration
public string Summary
Field Value
Type Description
string
Remarks

Please use this class instead of a full NewsFeedItemRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding NewsFeedItemTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Title

Short, descriptive headline. Plain text title. Multi-language string supported: 'US:"english";NO:"norsk"'.

Declaration
public string Title
Field Value
Type Description
string
Remarks

Please use this class instead of a full NewsFeedItemRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding NewsFeedItemTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Updated

Last updated when in UTC.

Declaration
public DateTime Updated
Field Value
Type Description
DateTime
Remarks

Please use this class instead of a full NewsFeedItemRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding NewsFeedItemTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

UpdatedAssociateId

Last updated by whom

Declaration
public int UpdatedAssociateId
Field Value
Type Description
int
Remarks

Please use this class instead of a full NewsFeedItemRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding NewsFeedItemTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

UpdatedCount

Number of updates made to this record

Declaration
public short UpdatedCount
Field Value
Type Description
short
Remarks

Please use this class instead of a full NewsFeedItemRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding NewsFeedItemTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Extension Methods

EnumUtil.MapEnums<From, To>(From)
NewsFeedItemRecordDataExtensions.ToInsertAsync(NewsFeedItemRecordData, CancellationToken)
Converters.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top