Class MessageConversationView
The MessageConversationView class contains details of the latest message in a Conversation.
Inheritance
Implements
Namespace: DotNetNuke.Services.Social.Messaging.Internal.Views
Assembly: DotNetNuke.dll
Syntax
public class MessageConversationView : object, IHydratable
Properties
| Improve this Doc View SourceAttachmentCount
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 |
Body
Gets or sets message body.
Declaration
public string Body { get; set; }
Property Value
Type | Description |
---|---|
System.String |
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 |
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 |
From
Gets or sets message From.
Declaration
public string From { get; set; }
Property Value
Type | Description |
---|---|
System.String |
KeyID
Gets or sets iHydratable.KeyID.
Declaration
public int KeyID { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
MessageID
Gets or sets messageID - The primary key.
Declaration
public int MessageID { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
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 |
PortalID
Gets or sets portalID for the message.
Declaration
public int PortalID { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
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 |
RowNumber
Gets or sets rowNumber of the message in a set.
Declaration
public int RowNumber { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
SenderProfileUrl
Gets the Sender User Profile URL.
Declaration
public string SenderProfileUrl { get; }
Property Value
Type | Description |
---|---|
System.String |
SenderUserID
Gets or sets the UserID of the sender of the message.
Declaration
public int SenderUserID { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Subject
Gets or sets message Subject.
Declaration
public string Subject { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ThreadCount
Gets or sets count of Total Threads in a Conversation.
Declaration
public int ThreadCount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
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 SourceFill(IDataReader)
Fill the object with data from database.
Declaration
public void Fill(IDataReader dr)
Parameters
Type | Name | Description |
---|---|---|
IDataReader | dr | the data reader. |