Show / Hide Table of Contents

Class EmailItemRecordData

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

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

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

Constructors

EmailItemRecordData()

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

Declaration
public EmailItemRecordData()
Remarks

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

Fields

AccountId

Account id

Declaration
public int AccountId
Field Value
Type Description
int
Remarks

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

AppointmentId

Archived on appointment

Declaration
public int AppointmentId
Field Value
Type Description
int
Remarks

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

CalData

Calendar data

Declaration
public string CalData
Field Value
Type Description
string
Remarks

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

Cc

Cc

Declaration
public string Cc
Field Value
Type Description
string
Remarks

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

ContactId

From company

Declaration
public int ContactId
Field Value
Type Description
int
Remarks

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

DocumentId

Archived document

Declaration
public int DocumentId
Field Value
Type Description
int
Remarks

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

EmailFolderId

Folder this email is in on the imap server

Declaration
public int EmailFolderId
Field Value
Type Description
int
Remarks

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

EmailItemId

Primary key

Declaration
public int EmailItemId
Field Value
Type Description
int
Remarks

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

Flags

Email flags - answered, deleted, seen, flagged, draft, recent...

Declaration
public EMailFlags Flags
Field Value
Type Description
EMailFlags
Remarks

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

From

From address

Declaration
public string From
Field Value
Type Description
string
Remarks

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

HasAttachment

Has attachment(s)

Declaration
public short HasAttachment
Field Value
Type Description
short
Remarks

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

HtmlBody

Html body text

Declaration
public string HtmlBody
Field Value
Type Description
string
Remarks

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

InReplyTo

In reply to, a message-id, used for threading

Declaration
public string InReplyTo
Field Value
Type Description
string
Remarks

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

MessageId

Email MessageId

Declaration
public string MessageId
Field Value
Type Description
string
Remarks

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

Mime

Mime text

Declaration
public string Mime
Field Value
Type Description
string
Remarks

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

PersonId

From person

Declaration
public int PersonId
Field Value
Type Description
int
Remarks

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

PlainBody

Plain body text

Declaration
public string PlainBody
Field Value
Type Description
string
Remarks

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

Priority

Email priority

Declaration
public EMailPriority Priority
Field Value
Type Description
EMailPriority
Remarks

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

ReceivedAt

Received by email server

Declaration
public DateTime ReceivedAt
Field Value
Type Description
DateTime
Remarks

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

Registered

Registered when in UTC.

Declaration
public DateTime Registered
Field Value
Type Description
DateTime
Remarks

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

RegisteredAssociateId

Registered by whom

Declaration
public int RegisteredAssociateId
Field Value
Type Description
int
Remarks

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

RepliedAt

When this email was replied to

Declaration
public DateTime RepliedAt
Field Value
Type Description
DateTime
Remarks

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

SaleId

Archived on sale

Declaration
public int SaleId
Field Value
Type Description
int
Remarks

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

SentAt

Sent datetime from mime

Declaration
public DateTime SentAt
Field Value
Type Description
DateTime
Remarks

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

ServerId

Email server id of this email item

Declaration
public int ServerId
Field Value
Type Description
int
Remarks

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

Size

The size of the email

Declaration
public int Size
Field Value
Type Description
int
Remarks

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

Subject

Email subject

Declaration
public string Subject
Field Value
Type Description
string
Remarks

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

To

To

Declaration
public string To
Field Value
Type Description
string
Remarks

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

Updated

Last updated when in UTC.

Declaration
public DateTime Updated
Field Value
Type Description
DateTime
Remarks

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

UpdatedAssociateId

Last updated by whom

Declaration
public int UpdatedAssociateId
Field Value
Type Description
int
Remarks

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

UpdatedCount

Number of updates made to this record

Declaration
public short UpdatedCount
Field Value
Type Description
short
Remarks

Please use this class instead of a full EmailItemRow 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 EmailItemTableInfo 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)
EmailItemRecordDataExtensions.ToInsertAsync(EmailItemRecordData, 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