Class TicketRelDefTicketTypeTableInfo
Table 'ticket_rel_def_ticket_type': Link table defining what Ticket types are involved in this relation. Will have M:N rows for a single relation definition
Implements
Inherited Members
Namespace: SuperOffice.CRM.Data
Assembly: SoDataBase.dll
Syntax
[DatabaseTable("ticket_rel_def_ticket_type")]
public class TicketRelDefTicketTypeTableInfo : 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.GetTicketRelDefTicketTypeInfo().
Fields
DictionaryTableName
Conceptual name of table TicketRelDefTicketType in the database dictionary: ticket_rel_def_ticket_type
Declaration
public const string DictionaryTableName = "ticket_rel_def_ticket_type"
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.GetTicketRelDefTicketTypeInfo().
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
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.GetTicketRelDefTicketTypeInfo().
DestinationTicketTypeId
Field 'destination_ticket_type_id' in table 'ticket_rel_def_ticket_type': Dictionary type FK, target: TicketType, .NET type: int
Ticket typeDeclaration
public Int32FieldInfo DestinationTicketTypeId { 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.GetTicketRelDefTicketTypeInfo().
DestinationTicketTypeId_InnerJoin_TicketType
Generated join from the foreign key DestinationTicketTypeId in this table, to its target table TicketTypeTableInfo.
Declaration
public TargetedInnerJoin<TicketTypeTableInfo> DestinationTicketTypeId_InnerJoin_TicketType { get; }
Property Value
| Type | Description |
|---|---|
| TargetedInnerJoin<TicketTypeTableInfo> |
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.GetTicketRelDefTicketTypeInfo().
DictionaryTableNumber
Table number for table TicketRelDefTicketType 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.GetTicketRelDefTicketTypeInfo().
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.GetTicketRelDefTicketTypeInfo().
SourceTicketTypeId
Field 'source_ticket_type_id' in table 'ticket_rel_def_ticket_type': Dictionary type FK, target: TicketType, .NET type: int
Ticket typeDeclaration
public Int32FieldInfo SourceTicketTypeId { 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.GetTicketRelDefTicketTypeInfo().
SourceTicketTypeId_InnerJoin_TicketType
Generated join from the foreign key SourceTicketTypeId in this table, to its target table TicketTypeTableInfo.
Declaration
public TargetedInnerJoin<TicketTypeTableInfo> SourceTicketTypeId_InnerJoin_TicketType { get; }
Property Value
| Type | Description |
|---|---|
| TargetedInnerJoin<TicketTypeTableInfo> |
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.GetTicketRelDefTicketTypeInfo().
TicketRelDefTicketTypeId
Field 'ticket_rel_def_ticket_type_id' in table 'ticket_rel_def_ticket_type': Dictionary type PK, .NET type: int
Primary keyDeclaration
public Int32FieldInfo TicketRelDefTicketTypeId { 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.GetTicketRelDefTicketTypeInfo().
TicketRelationDefId
Field 'ticket_relation_def_id' in table 'ticket_rel_def_ticket_type': Dictionary type FK, target: TicketRelationDef, .NET type: int
Ticket relation definitionDeclaration
public Int32FieldInfo TicketRelationDefId { 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.GetTicketRelDefTicketTypeInfo().
TicketRelationDefId_InnerJoin_TicketRelationDef
Generated join from the foreign key TicketRelationDefId in this table, to its target table TicketRelationDefTableInfo.
Declaration
public TargetedInnerJoin<TicketRelationDefTableInfo> TicketRelationDefId_InnerJoin_TicketRelationDef { get; }
Property Value
| Type | Description |
|---|---|
| TargetedInnerJoin<TicketRelationDefTableInfo> |
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.GetTicketRelDefTicketTypeInfo().
Methods
IdxTicketRelationDefId(int)
Shortcut method for looking up using the database index TicketRelationDefId, which spans the following fields:
| Field | Description |
|---|---|
| TicketRelationDefId | Ticket relation definition |
Declaration
public Restriction IdxTicketRelationDefId(int ticketRelationDefId)
Parameters
| Type | Name | Description |
|---|---|---|
| int | ticketRelationDefId |
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.GetTicketRelDefTicketTypeInfo().
IdxTicketRelationDefIdSourceTicketTypeId(int, int)
Shortcut method for looking up using the database index TicketRelationDefIdSourceTicketTypeId, which spans the following fields:
| Field | Description |
|---|---|
| TicketRelationDefId | Ticket relation definition |
| SourceTicketTypeId | Ticket type |
Declaration
public Restriction IdxTicketRelationDefIdSourceTicketTypeId(int ticketRelationDefId, int sourceTicketTypeId)
Parameters
| Type | Name | Description |
|---|---|---|
| int | ticketRelationDefId | |
| int | sourceTicketTypeId |
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.GetTicketRelDefTicketTypeInfo().