• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class MessageConversationView

The MessageConversationView class contains details of the latest message in a Conversation.

Inheritance
System.Object
MessageConversationView
Implements
IHydratable
Namespace: DotNetNuke.Services.Social.Messaging.Internal.Views
Assembly: DotNetNuke.dll
Syntax
public class MessageConversationView : object, IHydratable

Properties

| Improve this Doc View Source

AttachmentCount

Gets or sets count of Total Attachments in a Conversation. It is calculated by adding attachments in all the threads for a given conversation.

Declaration
public int AttachmentCount { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Body

Gets or sets message body.

Declaration
public string Body { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ConversationId

Gets or sets conversation ID of the Message. Each message has at least one ConversationId. Subsequent Replies to a Message get same ConversationId.

Declaration
public int ConversationId { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

DisplayDate

Gets a pretty printed string with the time since the message was created.

Declaration
public string DisplayDate { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

From

Gets or sets message From.

Declaration
public string From { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

KeyID

Gets or sets iHydratable.KeyID.

Declaration
public int KeyID { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

MessageID

Gets or sets messageID - The primary key.

Declaration
public int MessageID { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

NewThreadCount

Gets or sets count of Total New (Unread) Threads in a Conversation. It is calculated by inspecting all the threads in a conversation and counting the ones that are not read yet.

Declaration
public int NewThreadCount { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

PortalID

Gets or sets portalID for the message.

Declaration
public int PortalID { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

ReplyAllAllowed

Gets or sets a value indicating whether replyAllAllowed is a bit value to indicate if the reply to the message can be sent to all the recipients or just the sender.

Declaration
public bool ReplyAllAllowed { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

RowNumber

Gets or sets rowNumber of the message in a set.

Declaration
public int RowNumber { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

SenderProfileUrl

Gets the Sender User Profile URL.

Declaration
public string SenderProfileUrl { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

SenderUserID

Gets or sets the UserID of the sender of the message.

Declaration
public int SenderUserID { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Subject

Gets or sets message Subject.

Declaration
public string Subject { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ThreadCount

Gets or sets count of Total Threads in a Conversation.

Declaration
public int ThreadCount { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

To

Gets or sets to list for the message. This information is saved for faster display of To list in the message.

Declaration
public string To { get; set; }
Property Value
Type Description
System.String

Methods

| Improve this Doc View Source

Fill(IDataReader)

Fill the object with data from database.

Declaration
public void Fill(IDataReader dr)
Parameters
Type Name Description
IDataReader dr

the data reader.

Implements

IHydratable

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS