Class MessageRecordData
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the Message table.
Inherited Members
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class MessageRecordData
Remarks
Please use this class instead of a full MessageRow 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 MessageTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Constructors
MessageRecordData()
Declaration
public MessageRecordData()
Fields
Description
Message description, to aid in debugging and monitoring
Declaration
public string Description
Field Value
Type | Description |
---|---|
String |
DetailsRecord
Record containing message body
Declaration
public int DetailsRecord
Field Value
Type | Description |
---|---|
Int32 |
DetailsTable
Table containing message body (BatchTask, or some thing else)
Declaration
public short DetailsTable
Field Value
Type | Description |
---|---|
Int16 |
MessageId
Primary key
Declaration
public int MessageId
Field Value
Type | Description |
---|---|
Int32 |
MessageType
Application-specific message type
Declaration
public uint MessageType
Field Value
Type | Description |
---|---|
UInt32 |
MotherId
ID of message that this message is correlated to; 0 if this is the first message of a conversation
Declaration
public int MotherId
Field Value
Type | Description |
---|---|
Int32 |
Registered
Registered when in UTC.
Declaration
public DateTime Registered
Field Value
Type | Description |
---|---|
DateTime |
RegisteredAssociateId
Registered by whom
Declaration
public int RegisteredAssociateId
Field Value
Type | Description |
---|---|
Int32 |
SourceHandler
Originating message handler
Declaration
public int SourceHandler
Field Value
Type | Description |
---|---|
Int32 |
TargetHandler
Target message handler
Declaration
public int TargetHandler
Field Value
Type | Description |
---|---|
Int32 |
Updated
Last updated when in UTC.
Declaration
public DateTime Updated
Field Value
Type | Description |
---|---|
DateTime |
UpdatedAssociateId
Last updated by whom
Declaration
public int UpdatedAssociateId
Field Value
Type | Description |
---|---|
Int32 |
UpdatedCount
Number of updates made to this record
Declaration
public short UpdatedCount
Field Value
Type | Description |
---|---|
Int16 |