Class TicketLogRecordData
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the ticket_log table.
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class TicketLogRecordData : Object
Remarks
Please use this class instead of a full TicketLogRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding TicketLogTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Constructors
TicketLogRecordData()
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the ticket_log table.
Declaration
public TicketLogRecordData()
Remarks
Please use this class instead of a full TicketLogRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding TicketLogTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Fields
LogCode
An enum indicating what kind of log-entry this is.
Declaration
public short LogCode
Field Value
Type | Description |
---|---|
Int16 |
Remarks
Please use this class instead of a full TicketLogRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding TicketLogTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
LogDescription
A string describing the event (or part of such) to be logged.
Declaration
public string LogDescription
Field Value
Type | Description |
---|---|
String |
Remarks
Please use this class instead of a full TicketLogRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding TicketLogTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
LogWhatValue2
A reference to various tables, depending on the log_code.
Declaration
public int LogWhatValue2
Field Value
Type | Description |
---|---|
Int32 |
Remarks
Please use this class instead of a full TicketLogRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding TicketLogTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
LogWhen
When the action occured.
Declaration
public DateTime LogWhen
Field Value
Type | Description |
---|---|
DateTime |
Remarks
Please use this class instead of a full TicketLogRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding TicketLogTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
LogWho
The username/alias of the user performing the action.
Declaration
public string LogWho
Field Value
Type | Description |
---|---|
String |
Remarks
Please use this class instead of a full TicketLogRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding TicketLogTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
TicketId
The id of the ticket this entry is connected to.
Declaration
public int TicketId
Field Value
Type | Description |
---|---|
Int32 |
Remarks
Please use this class instead of a full TicketLogRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding TicketLogTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
TicketLogId
The primary key (auto-incremented)
Declaration
public int TicketLogId
Field Value
Type | Description |
---|---|
Int32 |
Remarks
Please use this class instead of a full TicketLogRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding TicketLogTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.