Class MessageCustomersTableInfo
Table 'message_customers': This table contains all cutomers who are involved in a message
Implements
Inherited Members
Namespace: SuperOffice.CRM.Data
Assembly: SoDataBase.dll
Syntax
[DatabaseTable("message_customers")]
public class MessageCustomersTableInfo : 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 MessageCustomers in the database dictionary: message_customers
Declaration
public const string DictionaryTableName = "message_customers"
Field Value
Type | Description |
---|---|
String |
Properties
CustomerId
Field 'customer_id' in table 'message_customers': Dictionary type FK, .NET type: Int32
The id of the customer who has received this message, or another message in this ticket
Declaration
public Int32FieldInfo CustomerId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
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> |
Definition
Definition of the table as described in the deployed runtime dictionary
Declaration
public override SoTable Definition { get; }
Property Value
Type | Description |
---|---|
SoTable |
Overrides
DictionaryTableNumber
Table number for table MessageCustomers 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 |
Field 'email' in table 'message_customers': Dictionary type String[256], .NET type: String
The email-adresse used in this message
Declaration
public StringFieldInfo Email { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
MessageCustomersId
Field 'id' in table 'message_customers': Dictionary type PK, .NET type: Int32
The primary key (auto-incremented)
Declaration
public Int32FieldInfo MessageCustomersId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
MessageId
Field 'message_id' in table 'message_customers': Dictionary type FK, .NET type: Int32
The id of the message the customer is involved in
Declaration
public Int32FieldInfo MessageId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
MessageId_InnerJoin_EjMessage
Generated join from the foreign key MessageId in this table, to its target table EjMessageTableInfo.
Declaration
public TargetedInnerJoin<EjMessageTableInfo> MessageId_InnerJoin_EjMessage { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<EjMessageTableInfo> |
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 |