Show / Hide Table of Contents

Class TicketLogActionRecordData

POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the ticket_log_action table.

Inheritance
Object
TicketLogActionRecordData
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class TicketLogActionRecordData : Object
Remarks

Please use this class instead of a full TicketLogActionRow 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 TicketLogActionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Constructors

TicketLogActionRecordData()

POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the ticket_log_action table.

Declaration
public TicketLogActionRecordData()
Remarks

Please use this class instead of a full TicketLogActionRow 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 TicketLogActionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Fields

CustomerId

The id of the customer this entry is connected to.

Declaration
public int CustomerId
Field Value
Type Description
Int32
Remarks

Please use this class instead of a full TicketLogActionRow 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 TicketLogActionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Description

Action description, only used by customer actions like ejscript

Declaration
public string Description
Field Value
Type Description
String
Remarks

Please use this class instead of a full TicketLogActionRow 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 TicketLogActionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Details

Field for storing details of the log action as e.g. JSON

Declaration
public string Details
Field Value
Type Description
String
Remarks

Please use this class instead of a full TicketLogActionRow 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 TicketLogActionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

LogAction

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

Declaration
public TicketLogAction LogAction
Field Value
Type Description
TicketLogAction
Remarks

Please use this class instead of a full TicketLogActionRow 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 TicketLogActionTableInfo 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 TicketLogActionRow 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 TicketLogActionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

MessageId

If this entry is connected to a message, then this is a message change log entry.

Declaration
public int MessageId
Field Value
Type Description
Int32
Remarks

Please use this class instead of a full TicketLogActionRow 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 TicketLogActionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

OrgTicketId

The id of the orignal ticket this entry was connected to.

Declaration
public int OrgTicketId
Field Value
Type Description
Int32
Remarks

Please use this class instead of a full TicketLogActionRow 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 TicketLogActionTableInfo 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 TicketLogActionRow 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 TicketLogActionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

TicketLogActionId

The primary key (auto-incremented)

Declaration
public int TicketLogActionId
Field Value
Type Description
Int32
Remarks

Please use this class instead of a full TicketLogActionRow 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 TicketLogActionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

UserId

The id of the user this entry is connected to.

Declaration
public int UserId
Field Value
Type Description
Int32
Remarks

Please use this class instead of a full TicketLogActionRow 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 TicketLogActionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Extension Methods

EnumUtil.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
TicketLogActionRecordDataExtensions.ToInsert(TicketLogActionRecordData)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top