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()

Declaration
public EmailItemRecordData()

Fields

AccountId

Account id

Declaration
public int AccountId
Field Value
Type Description
Int32

AppointmentId

Archived on appointment

Declaration
public int AppointmentId
Field Value
Type Description
Int32

CalData

Calendar data

Declaration
public string CalData
Field Value
Type Description
String

Cc

Cc

Declaration
public string Cc
Field Value
Type Description
String

ContactId

From company

Declaration
public int ContactId
Field Value
Type Description
Int32

DocumentId

Archived document

Declaration
public int DocumentId
Field Value
Type Description
Int32

EmailFolderId

Folder this email is in on the imap server

Declaration
public int EmailFolderId
Field Value
Type Description
Int32

EmailItemId

Primary key

Declaration
public int EmailItemId
Field Value
Type Description
Int32

Flags

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

Declaration
public EMailFlags Flags
Field Value
Type Description
EMailFlags

From

From address

Declaration
public string From
Field Value
Type Description
String

HasAttachment

Has attachment(s)

Declaration
public short HasAttachment
Field Value
Type Description
Int16

HtmlBody

Html body text

Declaration
public string HtmlBody
Field Value
Type Description
String

InReplyTo

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

Declaration
public string InReplyTo
Field Value
Type Description
String

MessageId

Email MessageId

Declaration
public string MessageId
Field Value
Type Description
String

Mime

Mime text

Declaration
public string Mime
Field Value
Type Description
String

PersonId

From person

Declaration
public int PersonId
Field Value
Type Description
Int32

PlainBody

Plain body text

Declaration
public string PlainBody
Field Value
Type Description
String

Priority

Email priority

Declaration
public EMailPriority Priority
Field Value
Type Description
EMailPriority

ReceivedAt

Received by email server

Declaration
public DateTime ReceivedAt
Field Value
Type Description
DateTime

Registered

Registered when in UTC.

Declaration
public DateTime Registered
Field Value
Type Description
DateTime

RegisteredAssociateId

Registered by whom

Declaration
public int RegisteredAssociateId
Field Value
Type Description
Int32

RepliedAt

When this email was replied to

Declaration
public DateTime RepliedAt
Field Value
Type Description
DateTime

SaleId

Archived on sale

Declaration
public int SaleId
Field Value
Type Description
Int32

SentAt

Sent datetime from mime

Declaration
public DateTime SentAt
Field Value
Type Description
DateTime

ServerId

Email server id of this email item

Declaration
public int ServerId
Field Value
Type Description
Int32

Size

The size of the email

Declaration
public int Size
Field Value
Type Description
Int32

Subject

Email subject

Declaration
public string Subject
Field Value
Type Description
String

To

To

Declaration
public string To
Field Value
Type Description
String

Updated

Last updated when in UTC.

Declaration
public DateTime Updated
Field Value
Type Description
DateTime

UpdatedAssociateId

Last updated by whom

Declaration
public int UpdatedAssociateId
Field Value
Type Description
Int32

UpdatedCount

Number of updates made to this record

Declaration
public short UpdatedCount
Field Value
Type Description
Int16

Extension Methods

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