Class EjMessageTableInfo
Table 'ej_message': This table contains the messages listed under tickets.
Implements
Inherited Members
Namespace: SuperOffice.CRM.Data
Assembly: SoDataBase.dll
Syntax
[DatabaseTable("ej_message")]
public class EjMessageTableInfo : 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 TablesInfo.GetEjMessageInfo().
Fields
DictionaryTableName
Conceptual name of table EjMessage in the database dictionary: ej_message
Declaration
public const string DictionaryTableName = "ej_message"
Field Value
| Type | Description |
|---|---|
| string |
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 TablesInfo.GetEjMessageInfo().
Properties
Author
Field 'author' in table 'ej_message': Dictionary type String[256], .NET type: string
A string representing the author of the message. Could be a user's name, or a persons email address.Declaration
public StringFieldInfo Author { get; }
Property Value
| Type | Description |
|---|---|
| StringFieldInfo |
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 TablesInfo.GetEjMessageInfo().
Badge
Field 'badge' in table 'ej_message': Dictionary type Enum, .NET type: BadgeType
Badge to explicitly determine how a message was generatedDeclaration
public BadgeTypeFieldInfo Badge { get; }
Property Value
| Type | Description |
|---|---|
| BadgeTypeFieldInfo |
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 TablesInfo.GetEjMessageInfo().
Body
Field 'body' in table 'ej_message': Dictionary type Clob, .NET type: string
The textbody for the message.Declaration
public StringFieldInfo Body { get; }
Property Value
| Type | Description |
|---|---|
| StringFieldInfo |
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 TablesInfo.GetEjMessageInfo().
BodyAttachment
Field 'body_attachment' in table 'ej_message': Dictionary type FK, target: Attachment, .NET type: int
If the body is too long for the database, it's stored in this attachment instead.Declaration
public Int32FieldInfo BodyAttachment { get; }
Property Value
| Type | Description |
|---|---|
| Int32FieldInfo |
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 TablesInfo.GetEjMessageInfo().
BodyAttachment_InnerJoin_Attachment
Generated join from the foreign key BodyAttachment in this table, to its target table AttachmentTableInfo.
Declaration
public TargetedInnerJoin<AttachmentTableInfo> BodyAttachment_InnerJoin_Attachment { get; }
Property Value
| Type | Description |
|---|---|
| TargetedInnerJoin<AttachmentTableInfo> |
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 TablesInfo.GetEjMessageInfo().
ChangedAt
Field 'changed_at' in table 'ej_message': Dictionary type DateTime, .NET type: DateTime
When the message was changed.Declaration
public DateTimeFieldInfo ChangedAt { get; }
Property Value
| Type | Description |
|---|---|
| DateTimeFieldInfo |
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 TablesInfo.GetEjMessageInfo().
ChangedBy
Field 'changed_by' in table 'ej_message': Dictionary type FK, target: Ejuser, .NET type: int
The id of the user who changed the message.Declaration
public Int32FieldInfo ChangedBy { get; }
Property Value
| Type | Description |
|---|---|
| Int32FieldInfo |
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 TablesInfo.GetEjMessageInfo().
ChangedBy_InnerJoin_Ejuser
Generated join from the foreign key ChangedBy in this table, to its target table EjuserTableInfo.
Declaration
public TargetedInnerJoin<EjuserTableInfo> ChangedBy_InnerJoin_Ejuser { get; }
Property Value
| Type | Description |
|---|---|
| TargetedInnerJoin<EjuserTableInfo> |
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 TablesInfo.GetEjMessageInfo().
CreatedAt
Field 'created_at' in table 'ej_message': Dictionary type DateTime, .NET type: DateTime
When the message was posted.Declaration
public DateTimeFieldInfo CreatedAt { get; }
Property Value
| Type | Description |
|---|---|
| DateTimeFieldInfo |
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 TablesInfo.GetEjMessageInfo().
CreatedBy
Field 'created_by' in table 'ej_message': Dictionary type FK, target: Ejuser, .NET type: int
The id of the user who posted the message. The value 1 (system user) for externally posted messages.Declaration
public Int32FieldInfo CreatedBy { get; }
Property Value
| Type | Description |
|---|---|
| Int32FieldInfo |
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 TablesInfo.GetEjMessageInfo().
CreatedBy_InnerJoin_Ejuser
Generated join from the foreign key CreatedBy in this table, to its target table EjuserTableInfo.
Declaration
public TargetedInnerJoin<EjuserTableInfo> CreatedBy_InnerJoin_Ejuser { get; }
Property Value
| Type | Description |
|---|---|
| TargetedInnerJoin<EjuserTableInfo> |
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 TablesInfo.GetEjMessageInfo().
CustomerId
Field 'customer_id' in table 'ej_message': Dictionary type FK, target: Person, .NET type: int
If the message was created by email or from the customer center, this field will point to that customer. -1 if the message was created by an userDeclaration
public Int32FieldInfo CustomerId { get; }
Property Value
| Type | Description |
|---|---|
| Int32FieldInfo |
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 TablesInfo.GetEjMessageInfo().
CustomerId_InnerJoin_Person
Generated join from the foreign key CustomerId in this table, to its target table PersonTableInfo.
Declaration
public TargetedInnerJoin<PersonTableInfo> CustomerId_InnerJoin_Person { get; }
Property Value
| Type | Description |
|---|---|
| TargetedInnerJoin<PersonTableInfo> |
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 TablesInfo.GetEjMessageInfo().
DebugInfo
Field 'debug_info' in table 'ej_message': Dictionary type Clob, .NET type: string
The debug info for the message.Declaration
public StringFieldInfo DebugInfo { get; }
Property Value
| Type | Description |
|---|---|
| StringFieldInfo |
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 TablesInfo.GetEjMessageInfo().
Definition
Definition of the table as described in the deployed runtime dictionary
Declaration
public override SoTable Definition { get; }
Property Value
| Type | Description |
|---|---|
| SoTable |
Overrides
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 TablesInfo.GetEjMessageInfo().
DictionaryTableNumber
Table number for table EjMessage 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 |
|---|---|
| int |
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 TablesInfo.GetEjMessageInfo().
EjMessageId
Field 'id' in table 'ej_message': Dictionary type PK, .NET type: int
The primary key (auto-incremented)Declaration
public Int32FieldInfo EjMessageId { get; }
Property Value
| Type | Description |
|---|---|
| Int32FieldInfo |
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 TablesInfo.GetEjMessageInfo().
EmailHeader
Field 'email_header' in table 'ej_message': Dictionary type Clob, .NET type: string
The email header is saved in this field as raw textDeclaration
public StringFieldInfo EmailHeader { get; }
Property Value
| Type | Description |
|---|---|
| StringFieldInfo |
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 TablesInfo.GetEjMessageInfo().
HtmlBody
Field 'html_body' in table 'ej_message': Dictionary type Clob, .NET type: string
The html body for the message (if any).Declaration
public StringFieldInfo HtmlBody { get; }
Property Value
| Type | Description |
|---|---|
| StringFieldInfo |
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 TablesInfo.GetEjMessageInfo().
HtmlBodyAttachment
Field 'html_body_attachment' in table 'ej_message': Dictionary type FK, target: Attachment, .NET type: int
If the htmlbody is too long for the database, it's stored in this attachment instead.Declaration
public Int32FieldInfo HtmlBodyAttachment { get; }
Property Value
| Type | Description |
|---|---|
| Int32FieldInfo |
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 TablesInfo.GetEjMessageInfo().
HtmlBodyAttachment_InnerJoin_Attachment
Generated join from the foreign key HtmlBodyAttachment in this table, to its target table AttachmentTableInfo.
Declaration
public TargetedInnerJoin<AttachmentTableInfo> HtmlBodyAttachment_InnerJoin_Attachment { get; }
Property Value
| Type | Description |
|---|---|
| TargetedInnerJoin<AttachmentTableInfo> |
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 TablesInfo.GetEjMessageInfo().
HtmlBodyInlineConverted
Field 'html_body_inline_converted' in table 'ej_message': Dictionary type Bool, .NET type: short
True if the html_body has converted inline image links.Declaration
public UInt16FieldInfo HtmlBodyInlineConverted { get; }
Property Value
| Type | Description |
|---|---|
| UInt16FieldInfo |
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 TablesInfo.GetEjMessageInfo().
Important
Field 'important' in table 'ej_message': Dictionary type Bool, .NET type: short
If this message is important or not.Declaration
public UInt16FieldInfo Important { get; }
Property Value
| Type | Description |
|---|---|
| UInt16FieldInfo |
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 TablesInfo.GetEjMessageInfo().
Inbox
Field 'inbox' in table 'ej_message': Dictionary type FK, target: Inbox, .NET type: int
The id of the inbox entry which created this message. Note: inbox entries are regularily deleted.Declaration
public Int32FieldInfo Inbox { get; }
Property Value
| Type | Description |
|---|---|
| Int32FieldInfo |
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 TablesInfo.GetEjMessageInfo().
Inbox_InnerJoin_Inbox
Generated join from the foreign key Inbox in this table, to its target table InboxTableInfo.
Declaration
public TargetedInnerJoin<InboxTableInfo> Inbox_InnerJoin_Inbox { get; }
Property Value
| Type | Description |
|---|---|
| TargetedInnerJoin<InboxTableInfo> |
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 TablesInfo.GetEjMessageInfo().
Language
Field 'language' in table 'ej_message': Dictionary type String[11], .NET type: string
The language this message is in, based on some kind of analysisDeclaration
public StringFieldInfo Language { get; }
Property Value
| Type | Description |
|---|---|
| StringFieldInfo |
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 TablesInfo.GetEjMessageInfo().
LeftOuterJoin_InvoiceEntry_MessageId
Generated left outer join from the primary key EjMessageId on this table, to InvoiceEntry.MessageId.
Declaration
public TargetedLeftOuterJoin<InvoiceEntryTableInfo> LeftOuterJoin_InvoiceEntry_MessageId { get; }
Property Value
| Type | Description |
|---|---|
| TargetedLeftOuterJoin<InvoiceEntryTableInfo> |
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 TablesInfo.GetEjMessageInfo().
LeftOuterJoin_MessageCustomers_MessageId
Generated left outer join from the primary key EjMessageId on this table, to MessageCustomers.MessageId.
Declaration
public TargetedLeftOuterJoin<MessageCustomersTableInfo> LeftOuterJoin_MessageCustomers_MessageId { get; }
Property Value
| Type | Description |
|---|---|
| TargetedLeftOuterJoin<MessageCustomersTableInfo> |
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 TablesInfo.GetEjMessageInfo().
LeftOuterJoin_MessageHeader_MessageId
Generated left outer join from the primary key EjMessageId on this table, to MessageHeader.MessageId.
Declaration
public TargetedLeftOuterJoin<MessageHeaderTableInfo> LeftOuterJoin_MessageHeader_MessageId { get; }
Property Value
| Type | Description |
|---|---|
| TargetedLeftOuterJoin<MessageHeaderTableInfo> |
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 TablesInfo.GetEjMessageInfo().
LeftOuterJoin_Outbox_MessageId
Generated left outer join from the primary key EjMessageId on this table, to Outbox.MessageId.
Declaration
public TargetedLeftOuterJoin<OutboxTableInfo> LeftOuterJoin_Outbox_MessageId { get; }
Property Value
| Type | Description |
|---|---|
| TargetedLeftOuterJoin<OutboxTableInfo> |
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 TablesInfo.GetEjMessageInfo().
LeftOuterJoin_Sms_MessageId
Generated left outer join from the primary key EjMessageId on this table, to Sms.MessageId.
Declaration
public TargetedLeftOuterJoin<SmsTableInfo> LeftOuterJoin_Sms_MessageId { get; }
Property Value
| Type | Description |
|---|---|
| TargetedLeftOuterJoin<SmsTableInfo> |
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 TablesInfo.GetEjMessageInfo().
LeftOuterJoin_TicketAttachment_MessageId
Generated left outer join from the primary key EjMessageId on this table, to TicketAttachment.MessageId.
Declaration
public TargetedLeftOuterJoin<TicketAttachmentTableInfo> LeftOuterJoin_TicketAttachment_MessageId { get; }
Property Value
| Type | Description |
|---|---|
| TargetedLeftOuterJoin<TicketAttachmentTableInfo> |
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 TablesInfo.GetEjMessageInfo().
LeftOuterJoin_TicketLogAction_MessageId
Generated left outer join from the primary key EjMessageId on this table, to TicketLogAction.MessageId.
Declaration
public TargetedLeftOuterJoin<TicketLogActionTableInfo> LeftOuterJoin_TicketLogAction_MessageId { get; }
Property Value
| Type | Description |
|---|---|
| TargetedLeftOuterJoin<TicketLogActionTableInfo> |
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 TablesInfo.GetEjMessageInfo().
LeftOuterJoin_TicketLogChange_MessageId
Generated left outer join from the primary key EjMessageId on this table, to TicketLogChange.MessageId.
Declaration
public TargetedLeftOuterJoin<TicketLogChangeTableInfo> LeftOuterJoin_TicketLogChange_MessageId { get; }
Property Value
| Type | Description |
|---|---|
| TargetedLeftOuterJoin<TicketLogChangeTableInfo> |
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 TablesInfo.GetEjMessageInfo().
MailSorter
Field 'mail_sorter' in table 'ej_message': Dictionary type String[256], .NET type: string
The name of the mail sorter used when the email was imported. Note: We must use name instead of id since the id's change every time one changes the mail sorter. :-0Declaration
public StringFieldInfo MailSorter { get; }
Property Value
| Type | Description |
|---|---|
| StringFieldInfo |
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 TablesInfo.GetEjMessageInfo().
MessageCategory
Field 'message_category' in table 'ej_message': Dictionary type Enum, .NET type: TicketMessageCategory
Defines what kind of message this is.Declaration
public TicketMessageCategoryFieldInfo MessageCategory { get; }
Property Value
| Type | Description |
|---|---|
| TicketMessageCategoryFieldInfo |
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 TablesInfo.GetEjMessageInfo().
MessageId
Field 'message_id' in table 'ej_message': Dictionary type String[851], .NET type: string
The Message-Id header value from the email. Used for threading, i.e. connecting messages to existing tickets.Declaration
public StringFieldInfo MessageId { get; }
Property Value
| Type | Description |
|---|---|
| StringFieldInfo |
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 TablesInfo.GetEjMessageInfo().
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 |
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 TablesInfo.GetEjMessageInfo().
SearchTitle
Field 'search_title' in table 'ej_message': Dictionary type String[256], .NET type: string
A copy of the title of the ticket, for search optimisation and simpler reporting.Declaration
public StringFieldInfo SearchTitle { get; }
Property Value
| Type | Description |
|---|---|
| StringFieldInfo |
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 TablesInfo.GetEjMessageInfo().
Sentiment
Field 'sentiment' in table 'ej_message': Dictionary type Int, .NET type: int
Sentiment index, 100 = completely happy; -100 = suicidally unhappy; 0 = no ideaDeclaration
public Int32FieldInfo Sentiment { get; }
Property Value
| Type | Description |
|---|---|
| Int32FieldInfo |
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 TablesInfo.GetEjMessageInfo().
SentimentConfidence
Field 'sentimentConfidence' in table 'ej_message': Dictionary type Int, .NET type: int
Confidence of sentiment index, 0 = no idea, 100 = completely sureDeclaration
public Int32FieldInfo SentimentConfidence { get; }
Property Value
| Type | Description |
|---|---|
| Int32FieldInfo |
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 TablesInfo.GetEjMessageInfo().
Slevel
Field 'slevel' in table 'ej_message': Dictionary type Enum, .NET type: TicketSecurityLevel
The securitylevel of the message.Declaration
public TicketSecurityLevelFieldInfo Slevel { get; }
Property Value
| Type | Description |
|---|---|
| TicketSecurityLevelFieldInfo |
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 TablesInfo.GetEjMessageInfo().
TicketId
Field 'ticket_id' in table 'ej_message': Dictionary type FK, target: Ticket, .NET type: int
The ticket this message is a child of.Declaration
public Int32FieldInfo TicketId { get; }
Property Value
| Type | Description |
|---|---|
| Int32FieldInfo |
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 TablesInfo.GetEjMessageInfo().
TicketId_InnerJoin_Ticket
Generated join from the foreign key TicketId in this table, to its target table TicketTableInfo.
Declaration
public TargetedInnerJoin<TicketTableInfo> TicketId_InnerJoin_Ticket { get; }
Property Value
| Type | Description |
|---|---|
| TargetedInnerJoin<TicketTableInfo> |
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 TablesInfo.GetEjMessageInfo().
TimeCharge
Field 'time_charge' in table 'ej_message': Dictionary type Int, .NET type: int
The amount of time (minutes) which should be invoiced for this message.Declaration
public Int32FieldInfo TimeCharge { get; }
Property Value
| Type | Description |
|---|---|
| Int32FieldInfo |
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 TablesInfo.GetEjMessageInfo().
TimeSpent
Field 'time_spent' in table 'ej_message': Dictionary type Int, .NET type: int
The time spent (minutes) for this message.Declaration
public Int32FieldInfo TimeSpent { get; }
Property Value
| Type | Description |
|---|---|
| Int32FieldInfo |
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 TablesInfo.GetEjMessageInfo().
Type
Field 'type' in table 'ej_message': Dictionary type Enum, .NET type: TicketMessageType
The type of the message (plaintext/html).Declaration
public TicketMessageTypeFieldInfo Type { get; }
Property Value
| Type | Description |
|---|---|
| TicketMessageTypeFieldInfo |
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 TablesInfo.GetEjMessageInfo().
Methods
IdxSearchTitle(string)
Shortcut method for looking up using the database index SearchTitle, which spans the following fields:
| Field | Description |
|---|---|
| SearchTitle | A copy of the title of the ticket, for search optimisation and simpler reporting. |
Declaration
public Restriction IdxSearchTitle(string searchTitle)
Parameters
| Type | Name | Description |
|---|---|---|
| string | searchTitle |
Returns
| Type | Description |
|---|---|
| Restriction |
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 TablesInfo.GetEjMessageInfo().
IdxSearchTitleBody(string, string)
Shortcut method for looking up using the database index SearchTitleBody, which spans the following fields:
| Field | Description |
|---|---|
| SearchTitle | A copy of the title of the ticket, for search optimisation and simpler reporting. |
| Body | The textbody for the message. |
Declaration
public Restriction IdxSearchTitleBody(string searchTitle, string body)
Parameters
| Type | Name | Description |
|---|---|---|
| string | searchTitle | |
| string | body |
Returns
| Type | Description |
|---|---|
| Restriction |
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 TablesInfo.GetEjMessageInfo().