Class MessageRecordData
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the Message table.
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class MessageRecordData : Object
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()
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the Message table.
Declaration
public 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.
Fields
AssociateId
The associate that is the target of this message
Declaration
public int AssociateId
Field Value
Type | Description |
---|---|
Int32 |
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.
Expire
The date and time the message expires in UTC.
Declaration
public DateTime Expire
Field Value
Type | Description |
---|---|
DateTime |
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.
MarkdownMessage
Markdown message to be displayed to user
Declaration
public string MarkdownMessage
Field Value
Type | Description |
---|---|
String |
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.
MessageId
Primary key
Declaration
public int MessageId
Field Value
Type | Description |
---|---|
Int32 |
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.
OnlineappId
The online app that owns this message
Declaration
public int OnlineappId
Field Value
Type | Description |
---|---|
Int32 |
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.
Registered
Registered when in UTC.
Declaration
public DateTime Registered
Field Value
Type | Description |
---|---|
DateTime |
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.
RegisteredAssociateId
Registered by whom
Declaration
public int RegisteredAssociateId
Field Value
Type | Description |
---|---|
Int32 |
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.
SystemMessageId
Message identifier, used for message update or removal
Declaration
public string SystemMessageId
Field Value
Type | Description |
---|---|
String |
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.
Type
Type of message, example: info, warning, error
Declaration
public SystemMessageType Type
Field Value
Type | Description |
---|---|
SystemMessageType |
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.
Updated
Last updated when in UTC.
Declaration
public DateTime Updated
Field Value
Type | Description |
---|---|
DateTime |
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.
UpdatedAssociateId
Last updated by whom
Declaration
public int UpdatedAssociateId
Field Value
Type | Description |
---|---|
Int32 |
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.
UpdatedCount
Number of updates made to this record
Declaration
public short UpdatedCount
Field Value
Type | Description |
---|---|
Int16 |
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.