Show / Hide Table of Contents

Class TicketStatusHistoryRecordData

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

Inheritance
object
TicketStatusHistoryRecordData
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 TicketStatusHistoryRecordData
Remarks

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

Constructors

TicketStatusHistoryRecordData()

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

Declaration
public TicketStatusHistoryRecordData()
Remarks

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

Fields

FromDatetime

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

Declaration
public DateTime FromDatetime
Field Value
Type Description
DateTime
Remarks

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

RealTimespan

The time (seconds) the ticket was in that status. Not calculated based on priority's timeframe.

Declaration
public int RealTimespan
Field Value
Type Description
int
Remarks

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

TicketId

Reference to a ticket

Declaration
public int TicketId
Field Value
Type Description
int
Remarks

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

TicketStatus

User defined ticket status

Declaration
public int TicketStatus
Field Value
Type Description
int
Remarks

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

TicketStatusHistoryId

The primary key (auto-incremented)

Declaration
public int TicketStatusHistoryId
Field Value
Type Description
int
Remarks

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

Timespan

The time (seconds) the ticket was in that status. Calculated based on priority's timeframe.

Declaration
public int Timespan
Field Value
Type Description
int
Remarks

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

ToDatetime

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

Declaration
public DateTime ToDatetime
Field Value
Type Description
DateTime
Remarks

Please use this class instead of a full TicketStatusHistoryRow 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 TicketStatusHistoryTableInfo 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)
TicketStatusHistoryRecordDataExtensions.ToInsertAsync(TicketStatusHistoryRecordData, 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