Show / Hide Table of Contents

Class TicketRelationDefTableInfo

Table 'ticket_relation_def': Ticket relation definition

Inheritance
object
TableInfo
TicketRelationDefTableInfo
Implements
ICloneable
Inherited Members
TableInfo.ToString()
TableInfo.RegisterFields(params FieldInfo[])
TableInfo.FieldInfoFromSoField(SoField)
TableInfo.Clone()
TableInfo.IsSameTable(TableInfo)
TableInfo.FindField(string)
TableInfo.ProtAll
TableInfo.UseNolockIfPossible
TableInfo.HashCheckFields
TableInfo.TableName
TableInfo.DbName
TableInfo.IsDictionaryTable
TableInfo.All
TableInfo.this[string]
TableInfo.PrimaryKeyField
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOfficeCRMData
Assembly: SoDataBase.dll
Syntax
[DatabaseTable("ticket_relation_def")]
public class TicketRelationDefTableInfo : 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.GetTicketRelationDefInfo().

Fields

DictionaryTableName

Conceptual name of table TicketRelationDef in the database dictionary: ticket_relation_def

Declaration
public const string DictionaryTableName = "ticket_relation_def"
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
TableInfo.Definition

Description

Field 'description' in table 'ticket_relation_def': Dictionary type String[4001], .NET type: string

Tooltip or other description

Declaration
public StringFieldInfo Description { get; }
Property Value
Type Description
StringFieldInfo

DictionaryTableNumber

Table number for table TicketRelationDef 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

IsBuiltIn

Field 'isBuiltIn' in table 'ticket_relation_def': Dictionary type Bool, .NET type: short

Is this row part of SuperOffice priming data

Declaration
public UInt16FieldInfo IsBuiltIn { get; }
Property Value
Type Description
UInt16FieldInfo

IsCloseParentWithChild

Field 'is_close_parent_with_child' in table 'ticket_relation_def': Dictionary type Bool, .NET type: short

Close parent when all children are closed

Declaration
public UInt16FieldInfo IsCloseParentWithChild { get; }
Property Value
Type Description
UInt16FieldInfo

IsCloseWithParent

Field 'is_close_with_parent' in table 'ticket_relation_def': Dictionary type Bool, .NET type: short

Offer to close all related when parent is closed

Declaration
public UInt16FieldInfo IsCloseWithParent { get; }
Property Value
Type Description
UInt16FieldInfo

IsParentMandatory

Field 'is_parent_mandatory' in table 'ticket_relation_def': Dictionary type Bool, .NET type: short

Parent relation is mandatory when a new request is created

Declaration
public UInt16FieldInfo IsParentMandatory { get; }
Property Value
Type Description
UInt16FieldInfo

IsPreventClosingParent

Field 'is_prevent_closing_parent' in table 'ticket_relation_def': Dictionary type Bool, .NET type: short

Prevent closing parent until all children are closed

Declaration
public UInt16FieldInfo IsPreventClosingParent { get; }
Property Value
Type Description
UInt16FieldInfo

LeftOuterJoin_TicketRelDefTicketType_TicketRelationDefId

Generated left outer join from the primary key TicketRelationDefId on this table, to TicketRelDefTicketType.TicketRelationDefId.

Declaration
public TargetedLeftOuterJoin<TicketRelDefTicketTypeTableInfo> LeftOuterJoin_TicketRelDefTicketType_TicketRelationDefId { get; }
Property Value
Type Description
TargetedLeftOuterJoinTicketRelDefTicketTypeTableInfo

LeftOuterJoin_TicketRelation_TicketRelationDefId

Generated left outer join from the primary key TicketRelationDefId on this table, to TicketRelation.TicketRelationDefId.

Declaration
public TargetedLeftOuterJoin<TicketRelationTableInfo> LeftOuterJoin_TicketRelation_TicketRelationDefId { get; }
Property Value
Type Description
TargetedLeftOuterJoinTicketRelationTableInfo

Name

Field 'name' in table 'ticket_relation_def': Dictionary type String[4001], .NET type: string

The name of this Ticket relation

Declaration
public StringFieldInfo Name { get; }
Property Value
Type Description
StringFieldInfo

Rank

Field 'rank' in table 'ticket_relation_def': Dictionary type UShort, .NET type: short

Rank order

Declaration
public UInt16FieldInfo Rank { get; }
Property Value
Type Description
UInt16FieldInfo

Registered

Field 'registered' in table 'ticket_relation_def': 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_def': Dictionary type FK, target: Associate, .NET type: int

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
TargetedInnerJoinAssociateTableInfo

RelationType

Field 'relation_type' in table 'ticket_relation_def': Dictionary type Enum, .NET type: TicketRelationType

Type of the relation (Related, Parent, Child)

Declaration
public TicketRelationTypeFieldInfo RelationType { get; }
Property Value
Type Description
TicketRelationTypeFieldInfo

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

TicketRelationDefId

Field 'ticket_relation_def_id' in table 'ticket_relation_def': Dictionary type PK, .NET type: int

Primary key

Declaration
public Int32FieldInfo TicketRelationDefId { get; }
Property Value
Type Description
Int32FieldInfo

Updated

Field 'updated' in table 'ticket_relation_def': 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_def': Dictionary type FK, target: Associate, .NET type: int

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
TargetedInnerJoinAssociateTableInfo

UpdatedCount

Field 'updatedCount' in table 'ticket_relation_def': Dictionary type UShort, .NET type: short

Number of updates made to this record

Declaration
public UInt16FieldInfo UpdatedCount { get; }
Property Value
Type Description
UInt16FieldInfo

Implements

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