Show / Hide Table of Contents

Class EmailRecordData

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

Inheritance
Object
EmailRecordData
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 EmailRecordData
Remarks

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

Constructors

EmailRecordData()

Declaration
public EmailRecordData()

Fields

AppointmentId

The id of the invitation appointment record, used when unknown person is associated with an appointment invitation

Declaration
public int AppointmentId
Field Value
Type Description
Int32

BounceCount

Number of bounces detected

Declaration
public short BounceCount
Field Value
Type Description
Int16

ContactId

Relations to possible owners

Declaration
public int ContactId
Field Value
Type Description
Int32

DbiAgentId

Integration agent (eJournal)

Declaration
public int DbiAgentId
Field Value
Type Description
Int32

Description

Visible field

Declaration
public string Description
Field Value
Type Description
String

EmailAddress

The address itself

Declaration
public string EmailAddress
Field Value
Type Description
String

EmailId

Primary key

Declaration
public int EmailId
Field Value
Type Description
Int32

LastBounce

When did last bounce happen

Declaration
public DateTime LastBounce
Field Value
Type Description
DateTime

LastBounceCode

If this email address has bounced and we have a bounce code, this field will contain the code for the last bounce

Declaration
public int LastBounceCode
Field Value
Type Description
Int32

LastBounceReason

If this email address has bounced and we have a bounce reason, this field will contain the reason for the last bounce

Declaration
public string LastBounceReason
Field Value
Type Description
String

LastSent

Last transmission (regardless of success/bounce)

Declaration
public DateTime LastSent
Field Value
Type Description
DateTime

PersonId

Relations to possible owners

Declaration
public int PersonId
Field Value
Type Description
Int32

ProjectId

Relations to possible owners

Declaration
public int ProjectId
Field Value
Type Description
Int32

Protocol

SMTP, MSN, Skype, etc

Declaration
public string Protocol
Field Value
Type Description
String

Rank

Rank order in lists

Declaration
public short Rank
Field Value
Type Description
Int16

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

ReservedId1

Reserved for potential future owners

Declaration
public int ReservedId1
Field Value
Type Description
Int32

ReservedId2

Reserved for potential future owners

Declaration
public int ReservedId2
Field Value
Type Description
Int32

Type

0 = email, 1 = chat/instant msg, 2 = voip; see protocol field for more info

Declaration
public EmailType Type
Field Value
Type Description
EmailType

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)
EmailRecordDataExtensions.ToInsert(EmailRecordData)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top