Show / Hide Table of Contents

Class TicketAttachmentRecordData

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

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

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

Constructors

TicketAttachmentRecordData()

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

Declaration
public TicketAttachmentRecordData()
Remarks

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

Fields

AttachmentId

The attachment.id this reference is connected to.

Declaration
public int AttachmentId
Field Value
Type Description
int
Remarks

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

ContentId

The content_id of this attachment, used for inline images

Declaration
public string ContentId
Field Value
Type Description
string
Remarks

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

InlineImage

True if this attachment is inlined in the html_body.

Declaration
public short InlineImage
Field Value
Type Description
short
Remarks

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

MessageId

The message.id this reference is connected to.

Declaration
public int MessageId
Field Value
Type Description
int
Remarks

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

TicketAttachmentId

The primary key (auto-incremented)

Declaration
public int TicketAttachmentId
Field Value
Type Description
int
Remarks

Please use this class instead of a full TicketAttachmentRow 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 TicketAttachmentTableInfo 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)
TicketAttachmentRecordDataExtensions.ToInsertAsync(TicketAttachmentRecordData, 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