Class TicketRelationTypeTableInfo
Table 'ticket_relation_type': Contains ticket relation types, used to drive processing logic together with ticket relations
Implements
Inherited Members
Namespace: SuperOffice.CRM.Data
Assembly: SoDataBase.dll
Syntax
[DatabaseTable("ticket_relation_type")]
public class TicketRelationTypeTableInfo : 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 TicketRelationType in the database dictionary: ticket_relation_type
Declaration
public const string DictionaryTableName = "ticket_relation_type"
Field Value
Type | Description |
---|---|
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
DictionaryTableNumber
Table number for table TicketRelationType 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 |
LeftOuterJoin_TicketRelation_RelationType
Generated left outer join from the primary key TicketRelationTypeId on this table, to TicketRelation.RelationType.
Declaration
public TargetedLeftOuterJoin<TicketRelationTableInfo> LeftOuterJoin_TicketRelation_RelationType { get; }
Property Value
Type | Description |
---|---|
TargetedLeftOuterJoin<TicketRelationTableInfo> |
LeftOuterJoin_TicketRelationAction_SourceRelationType
Generated left outer join from the primary key TicketRelationTypeId on this table, to TicketRelationAction.SourceRelationType.
Declaration
public TargetedLeftOuterJoin<TicketRelationActionTableInfo> LeftOuterJoin_TicketRelationAction_SourceRelationType { get; }
Property Value
Type | Description |
---|---|
TargetedLeftOuterJoin<TicketRelationActionTableInfo> |
LeftOuterJoin_TicketRelationAction_TargetRelationType
Generated left outer join from the primary key TicketRelationTypeId on this table, to TicketRelationAction.TargetRelationType.
Declaration
public TargetedLeftOuterJoin<TicketRelationActionTableInfo> LeftOuterJoin_TicketRelationAction_TargetRelationType { get; }
Property Value
Type | Description |
---|---|
TargetedLeftOuterJoin<TicketRelationActionTableInfo> |
Name
Field 'name' in table 'ticket_relation_type': Dictionary type String[2048], .NET type: String
Multi-language name, shown in the administrative GUI
Declaration
public StringFieldInfo Name { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
Rank
Field 'rank' in table 'ticket_relation_type': Dictionary type UShort, .NET type: Int16
Display sort sequence for default sort order
Declaration
public UInt16FieldInfo Rank { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |
Registered
Field 'registered' in table 'ticket_relation_type': Dictionary type UtcDateTime, .NET type: DateTime
Registered when
Declaration
public DateTimeFieldInfo Registered { get; }
Property Value
Type | Description |
---|---|
DateTimeFieldInfo |
RegisteredAssociateId
Field 'registered_associate_id' in table 'ticket_relation_type': Dictionary type FK, .NET type: 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 |
SourceLabel
Field 'source_label' in table 'ticket_relation_type': Dictionary type String[2048], .NET type: String
Multi-language name of relation when viewed from source ('caused by')
Declaration
public StringFieldInfo SourceLabel { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
SourceType
Field 'source_type' in table 'ticket_relation_type': Dictionary type FK, .NET type: Int32
Type of ticket that can be used as source for this type of relation
Declaration
public Int32FieldInfo SourceType { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
SourceType_InnerJoin_TicketType
Generated join from the foreign key SourceType in this table, to its target table TicketTypeTableInfo.
Declaration
public TargetedInnerJoin<TicketTypeTableInfo> SourceType_InnerJoin_TicketType { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<TicketTypeTableInfo> |
TargetLabel
Field 'target_label' in table 'ticket_relation_type': Dictionary type String[2048], .NET type: String
Multi-language name of relation when viewed from target ('causes')
Declaration
public StringFieldInfo TargetLabel { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
TargetType
Field 'target_type' in table 'ticket_relation_type': Dictionary type FK, .NET type: Int32
Type of ticket that can be used as target for this type of relation
Declaration
public Int32FieldInfo TargetType { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
TargetType_InnerJoin_TicketType
Generated join from the foreign key TargetType in this table, to its target table TicketTypeTableInfo.
Declaration
public TargetedInnerJoin<TicketTypeTableInfo> TargetType_InnerJoin_TicketType { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<TicketTypeTableInfo> |
TicketRelationTypeId
Field 'id' in table 'ticket_relation_type': Dictionary type PK, .NET type: Int32
Primary key
Declaration
public Int32FieldInfo TicketRelationTypeId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
Updated
Field 'updated' in table 'ticket_relation_type': Dictionary type UtcDateTime, .NET type: DateTime
Last updated when
Declaration
public DateTimeFieldInfo Updated { get; }
Property Value
Type | Description |
---|---|
DateTimeFieldInfo |
UpdatedAssociateId
Field 'updated_associate_id' in table 'ticket_relation_type': Dictionary type FK, .NET type: 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 'ticket_relation_type': Dictionary type UShort, .NET type: Int16
Number of updates made to this record
Declaration
public UInt16FieldInfo UpdatedCount { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |