Class EmailRecordData
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the Email table.
Inheritance
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class EmailRecordData : Object
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 |
---|---|
System.Int32 |
BounceCount
Number of bounces detected
Declaration
public short BounceCount
Field Value
Type | Description |
---|---|
System.Int16 |
ContactId
Relations to possible owners
Declaration
public int ContactId
Field Value
Type | Description |
---|---|
System.Int32 |
DbiAgentId
Integration agent (eJournal)
Declaration
public int DbiAgentId
Field Value
Type | Description |
---|---|
System.Int32 |
Description
Visible field
Declaration
public string Description
Field Value
Type | Description |
---|---|
System.String |
EmailAddress
The address itself
Declaration
public string EmailAddress
Field Value
Type | Description |
---|---|
System.String |
EmailId
Primary key
Declaration
public int EmailId
Field Value
Type | Description |
---|---|
System.Int32 |
LastBounce
When did last bounce happen
Declaration
public DateTime LastBounce
Field Value
Type | Description |
---|---|
System.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 |
---|---|
System.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 |
---|---|
System.String |
LastSent
Last transmission (regardless of success/bounce)
Declaration
public DateTime LastSent
Field Value
Type | Description |
---|---|
System.DateTime |
PersonId
Relations to possible owners
Declaration
public int PersonId
Field Value
Type | Description |
---|---|
System.Int32 |
ProjectId
Relations to possible owners
Declaration
public int ProjectId
Field Value
Type | Description |
---|---|
System.Int32 |
Protocol
SMTP, MSN, Skype, etc
Declaration
public string Protocol
Field Value
Type | Description |
---|---|
System.String |
Rank
Rank order in lists
Declaration
public short Rank
Field Value
Type | Description |
---|---|
System.Int16 |
Registered
Registered when in UTC.
Declaration
public DateTime Registered
Field Value
Type | Description |
---|---|
System.DateTime |
RegisteredAssociateId
Registered by whom
Declaration
public int RegisteredAssociateId
Field Value
Type | Description |
---|---|
System.Int32 |
ReservedId1
Reserved for potential future owners
Declaration
public int ReservedId1
Field Value
Type | Description |
---|---|
System.Int32 |
ReservedId2
Reserved for potential future owners
Declaration
public int ReservedId2
Field Value
Type | Description |
---|---|
System.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 |
---|---|
System.DateTime |
UpdatedAssociateId
Last updated by whom
Declaration
public int UpdatedAssociateId
Field Value
Type | Description |
---|---|
System.Int32 |
UpdatedCount
Number of updates made to this record
Declaration
public short UpdatedCount
Field Value
Type | Description |
---|---|
System.Int16 |