Show / Hide Table of Contents

Class TicketLogTableInfo

Table 'ticket_log': This table contains log entries for the tickets.

Inheritance
Object
TableInfo
TicketLogTableInfo
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
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: SuperOffice.CRM.Data
Assembly: SoDataBase.dll
Syntax
[DatabaseTable("ticket_log")]
public class TicketLogTableInfo : 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 TicketLog in the database dictionary: ticket_log

Declaration
public const string DictionaryTableName = "ticket_log"
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

DictionaryTableNumber

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

LogCode

Field 'log_code' in table 'ticket_log': Dictionary type Enum, .NET type: Int16

An enum indicating what kind of log-entry this is.

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

LogDescription

Field 'log_description' in table 'ticket_log': Dictionary type Clob, .NET type: String

A string describing the event (or part of such) to be logged.

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

LogWhatValue2

Field 'log_what_value2' in table 'ticket_log': Dictionary type Int, .NET type: Int32

A reference to various tables, depending on the log_code.

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

LogWhen

Field 'log_when' in table 'ticket_log': Dictionary type DateTime, .NET type: DateTime

When the action occured.

Declaration
public DateTimeFieldInfo LogWhen { get; }
Property Value
Type Description
DateTimeFieldInfo

LogWho

Field 'log_who' in table 'ticket_log': Dictionary type String[256], .NET type: String

The username/alias of the user performing the action.

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

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

TicketId

Field 'ticket_id' in table 'ticket_log': Dictionary type FK, .NET type: Int32

The id of the ticket this entry is connected to.

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

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>

TicketLogId

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

The primary key (auto-incremented)

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

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