Show / Hide Table of Contents

Class EjMessageTableInfo

Table 'ej_message': This table contains the messages listed under tickets.

Inheritance
Object
TableInfo
EjMessageTableInfo
Implements
ICloneable
Inherited Members
TableInfo.ToString()
TableInfo.RegisterFields(FieldInfo[])
TableInfo.FieldInfoFromSoField(SoField)
TableInfo.Clone()
TableInfo.IsSameTable(TableInfo)
TableInfo.FindField(String)
TableInfo.ProtAll
TableInfo.HashCheckFields
TableInfo.TableName
TableInfo.DbName
TableInfo.IsDictionaryTable
TableInfo.All
TableInfo.Item[String]
TableInfo.PrimaryKeyField
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 .

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 .

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 .

Badge

Field 'badge' in table 'ej_message': Dictionary type Enum, .NET type: BadgeType

Badge to explicitly determine how a message was generated
Declaration
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 .

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 .

BodyAttachment

Field 'body_attachment' in table 'ej_message': Dictionary type FK, target: Attachment, .NET type: Int32

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 .

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 .

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 .

ChangedBy

Field 'changed_by' in table 'ej_message': Dictionary type FK, target: Ejuser, .NET type: Int32

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 .

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 .

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 .

CreatedBy

Field 'created_by' in table 'ej_message': Dictionary type FK, target: Ejuser, .NET type: Int32

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 .

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 .

CustomerId

Field 'customer_id' in table 'ej_message': Dictionary type FK, target: Person, .NET type: Int32

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 user
Declaration
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 .

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 .

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 .

Definition

Definition of the table as described in the deployed runtime dictionary

Declaration
public override SoTable Definition { get; }
Property Value
Type Description
SoTable
Overrides
TableInfo.Definition
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 .

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
Int32
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 .

EjMessageId

Field 'id' in table 'ej_message': Dictionary type PK, .NET type: Int32

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 .

EmailHeader

Field 'email_header' in table 'ej_message': Dictionary type Clob, .NET type: String

The email header is saved in this field as raw text
Declaration
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 .

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 .

HtmlBodyAttachment

Field 'html_body_attachment' in table 'ej_message': Dictionary type FK, target: Attachment, .NET type: Int32

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 .

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 .

HtmlBodyInlineConverted

Field 'html_body_inline_converted' in table 'ej_message': Dictionary type Bool, .NET type: Int16

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 .

Important

Field 'important' in table 'ej_message': Dictionary type Bool, .NET type: Int16

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 .

Inbox

Field 'inbox' in table 'ej_message': Dictionary type FK, target: Inbox, .NET type: Int32

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 .

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 .

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 analysis
Declaration
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 .

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 .

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 .

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 .

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 .

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 .

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 .

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 .

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 .

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. :-0
Declaration
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 .

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 .

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 .

RuntimeDefinition

Definition of the table as described in the deployed runtime dictionary

Declaration
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 .

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 .

Sentiment

Field 'sentiment' in table 'ej_message': Dictionary type Int, .NET type: Int32

Sentiment index, 100 = completely happy; -100 = suicidally unhappy; 0 = no idea
Declaration
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 .

SentimentConfidence

Field 'sentimentConfidence' in table 'ej_message': Dictionary type Int, .NET type: Int32

Confidence of sentiment index, 0 = no idea, 100 = completely sure
Declaration
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 .

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 .

TicketId

Field 'ticket_id' in table 'ej_message': Dictionary type FK, target: Ticket, .NET type: Int32

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 .

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 .

TimeCharge

Field 'time_charge' in table 'ej_message': Dictionary type Int, .NET type: Int32

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 .

TimeSpent

Field 'time_spent' in table 'ej_message': Dictionary type Int, .NET type: Int32

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 .

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 .

Methods

IdxSearchTitle(String)

Shortcut method for looking up using the database index SearchTitle, which spans the following fields:

FieldDescription
SearchTitleA 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 .

IdxSearchTitleBody(String, String)

Shortcut method for looking up using the database index SearchTitleBody, which spans the following fields:

FieldDescription
SearchTitleA copy of the title of the ticket, for search optimisation and simpler reporting.
BodyThe 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 .

Implements

System.ICloneable

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top