Show / Hide Table of Contents

Class TicketLogRecordData

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

Inheritance
object
TicketLogRecordData
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class 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.

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
short
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
int
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
int
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
int
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.

Extension Methods

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