Class MessageTableInfo
Table 'Message': Definition of a message, corresponding to the header of a protocol
Implements
Inherited Members
Namespace: SuperOffice.CRM.Data
Assembly: SoDataBase.dll
Syntax
[DatabaseTable("Message")]
public class MessageTableInfo : TableInfo, ICloneable
Remarks
An instance of this class represents one instance of this table in an SQL statement. In most
cases each table appears only once in a SELECT, but in cases where you need to self-join, or
there are multiple occurrences for other reasons (typically additional restrictions in the joins),
then you will need multiple instances.
Instances of this class are created by calling
Fields
DictionaryTableName
Conceptual name of table Message in the database dictionary: Message
Declaration
public const string DictionaryTableName = "Message"
Field Value
Type | Description |
---|---|
System.String |
Properties
Definition
Definition of the table as described in the deployed runtime dictionary
Declaration
public override SoTable Definition { get; }
Property Value
Type | Description |
---|---|
SoTable |
Overrides
Description
Field 'description' in table 'Message': Dictionary type String[255], .NET type: System.String
Message description, to aid in debugging and monitoring
Declaration
public StringFieldInfo Description { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
DetailsRecord
Field 'detailsRecord' in table 'Message': Dictionary type RecordId, .NET type: System.Int32
Record containing message body
Declaration
public Int32FieldInfo DetailsRecord { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
DetailsTable
Field 'detailsTable' in table 'Message': Dictionary type TableNumber, .NET type: System.Int16
Table containing message body (BatchTask, or some thing else)
Declaration
public UInt16FieldInfo DetailsTable { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |
DictionaryTableNumber
Table number for table Message in the database dictionary; potentially changes between databases, but always the same over the lifetime of any single database
Declaration
public int DictionaryTableNumber { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
MessageId
Field 'Message_id' in table 'Message': Dictionary type PK, .NET type: System.Int32
Primary key
Declaration
public Int32FieldInfo MessageId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
MessageType
Field 'messageType' in table 'Message': Dictionary type UInt, .NET type: System.UInt32
Application-specific message type
Declaration
public FieldInfo MessageType { get; }
Property Value
Type | Description |
---|---|
FieldInfo |
MotherId
Field 'motherId' in table 'Message': Dictionary type FK, .NET type: System.Int32
ID of message that this message is correlated to; 0 if this is the first message of a conversation
Declaration
public Int32FieldInfo MotherId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
MotherId_InnerJoin_Message
Generated join from the foreign key MotherId in this table, to its target table MessageTableInfo.
Declaration
public TargetedInnerJoin<MessageTableInfo> MotherId_InnerJoin_Message { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<MessageTableInfo> |
Registered
Field 'registered' in table 'Message': Dictionary type UtcDateTime, .NET type: System.DateTime
Registered when
Declaration
public DateTimeFieldInfo Registered { get; }
Property Value
Type | Description |
---|---|
DateTimeFieldInfo |
RegisteredAssociateId
Field 'registered_associate_id' in table 'Message': Dictionary type FK, .NET type: System.Int32
Registered by whom
Declaration
public Int32FieldInfo RegisteredAssociateId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
RegisteredAssociateId_InnerJoin_Associate
Generated join from the foreign key RegisteredAssociateId in this table, to its target table AssociateTableInfo.
Declaration
public TargetedInnerJoin<AssociateTableInfo> RegisteredAssociateId_InnerJoin_Associate { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<AssociateTableInfo> |
RuntimeDefinition
Definition of the table as described in the deployed runtime dictionary
Declaration
[Obsolete("Use instance property Definition or static member DictionaryTableNumber", true)]
public static SoTable RuntimeDefinition { get; }
Property Value
Type | Description |
---|---|
SoTable |
SourceHandler
Field 'sourceHandler' in table 'Message': Dictionary type FK, .NET type: System.Int32
Originating message handler
Declaration
public Int32FieldInfo SourceHandler { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
SourceHandler_InnerJoin_MessageHandler
Generated join from the foreign key SourceHandler in this table, to its target table MessageHandlerTableInfo.
Declaration
public TargetedInnerJoin<MessageHandlerTableInfo> SourceHandler_InnerJoin_MessageHandler { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<MessageHandlerTableInfo> |
TargetHandler
Field 'targetHandler' in table 'Message': Dictionary type FK, .NET type: System.Int32
Target message handler
Declaration
public Int32FieldInfo TargetHandler { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
TargetHandler_InnerJoin_MessageHandler
Generated join from the foreign key TargetHandler in this table, to its target table MessageHandlerTableInfo.
Declaration
public TargetedInnerJoin<MessageHandlerTableInfo> TargetHandler_InnerJoin_MessageHandler { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<MessageHandlerTableInfo> |
Updated
Field 'updated' in table 'Message': Dictionary type UtcDateTime, .NET type: System.DateTime
Last updated when
Declaration
public DateTimeFieldInfo Updated { get; }
Property Value
Type | Description |
---|---|
DateTimeFieldInfo |
UpdatedAssociateId
Field 'updated_associate_id' in table 'Message': Dictionary type FK, .NET type: System.Int32
Last updated by whom
Declaration
public Int32FieldInfo UpdatedAssociateId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
UpdatedAssociateId_InnerJoin_Associate
Generated join from the foreign key UpdatedAssociateId in this table, to its target table AssociateTableInfo.
Declaration
public TargetedInnerJoin<AssociateTableInfo> UpdatedAssociateId_InnerJoin_Associate { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<AssociateTableInfo> |
UpdatedCount
Field 'updatedCount' in table 'Message': Dictionary type UShort, .NET type: System.Int16
Number of updates made to this record
Declaration
public UInt16FieldInfo UpdatedCount { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |