Class EmailTableInfo
Table 'Email': Email addresses for contacts, projects and persons
Implements
Inherited Members
Namespace: SuperOffice.CRM.Data
Assembly: SoDataBase.dll
Syntax
[DatabaseTable("Email")]
public class EmailTableInfo : TableInfo, ICloneable
Remarks
An instance of this class represents one instance of this table in an SQL statement. In most
cases each table appears only once in a SELECT, but in cases where you need to self-join, or
there are multiple occurrences for other reasons (typically additional restrictions in the joins),
then you will need multiple instances.
Instances of this class are created by calling
Fields
DictionaryTableName
Conceptual name of table Email in the database dictionary: Email
Declaration
public const string DictionaryTableName = "Email"
Field Value
Type | Description |
---|---|
String |
Properties
AppointmentId
Field 'appointment_id' in table 'Email': Dictionary type FK, .NET type: Int32
The id of the invitation appointment record, used when unknown person is associated with an appointment invitation
Declaration
public Int32FieldInfo AppointmentId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
AppointmentId_InnerJoin_Appointment
Generated join from the foreign key AppointmentId in this table, to its target table AppointmentTableInfo.
Declaration
public TargetedInnerJoin<AppointmentTableInfo> AppointmentId_InnerJoin_Appointment { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<AppointmentTableInfo> |
BounceCount
Field 'bounceCount' in table 'Email': Dictionary type UShort, .NET type: Int16
Number of bounces detected
Declaration
public UInt16FieldInfo BounceCount { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |
ContactId
Field 'contact_id' in table 'Email': Dictionary type FK, .NET type: Int32
Relations to possible owners
Declaration
public Int32FieldInfo ContactId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
ContactId_InnerJoin_Contact
Generated join from the foreign key ContactId in this table, to its target table ContactTableInfo.
Declaration
public TargetedInnerJoin<ContactTableInfo> ContactId_InnerJoin_Contact { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<ContactTableInfo> |
DbiAgentId
Field 'dbi_agent_id' in table 'Email': Dictionary type FK, .NET type: Int32
Integration agent (eJournal)
Declaration
public Int32FieldInfo DbiAgentId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
DbiAgentId_InnerJoin_DbiAgent
Generated join from the foreign key DbiAgentId in this table, to its target table DbiAgentTableInfo.
Declaration
public TargetedInnerJoin<DbiAgentTableInfo> DbiAgentId_InnerJoin_DbiAgent { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<DbiAgentTableInfo> |
Definition
Definition of the table as described in the deployed runtime dictionary
Declaration
public override SoTable Definition { get; }
Property Value
Type | Description |
---|---|
SoTable |
Overrides
Description
Field 'description' in table 'Email': Dictionary type String[255], .NET type: String
Visible field
Declaration
public StringFieldInfo Description { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
DictionaryTableNumber
Table number for table Email in the database dictionary; potentially changes between databases, but always the same over the lifetime of any single database
Declaration
public int DictionaryTableNumber { get; }
Property Value
Type | Description |
---|---|
Int32 |
EmailAddress
Field 'email_address' in table 'Email': Dictionary type String[240], .NET type: String
The address itself
Declaration
public StringFieldInfo EmailAddress { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
EmailId
Field 'email_id' in table 'Email': Dictionary type PK, .NET type: Int32
Primary key
Declaration
public Int32FieldInfo EmailId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
LastBounce
Field 'lastBounce' in table 'Email': Dictionary type DateTime, .NET type: DateTime
When did last bounce happen
Declaration
public DateTimeFieldInfo LastBounce { get; }
Property Value
Type | Description |
---|---|
DateTimeFieldInfo |
LastBounceCode
Field 'lastBounceCode' in table 'Email': Dictionary type Int, .NET type: Int32
If this email address has bounced and we have a bounce code, this field will contain the code for the last bounce
Declaration
public Int32FieldInfo LastBounceCode { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
LastBounceReason
Field 'lastBounceReason' in table 'Email': Dictionary type String[4001], .NET type: String
If this email address has bounced and we have a bounce reason, this field will contain the reason for the last bounce
Declaration
public StringFieldInfo LastBounceReason { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
LastSent
Field 'lastSent' in table 'Email': Dictionary type DateTime, .NET type: DateTime
Last transmission (regardless of success/bounce)
Declaration
public DateTimeFieldInfo LastSent { get; }
Property Value
Type | Description |
---|---|
DateTimeFieldInfo |
LeftOuterJoin_Appointment_EmailId
Generated left outer join from the primary key EmailId on this table, to Appointment.EmailId.
Declaration
public TargetedLeftOuterJoin<AppointmentTableInfo> LeftOuterJoin_Appointment_EmailId { get; }
Property Value
Type | Description |
---|---|
TargetedLeftOuterJoin<AppointmentTableInfo> |
PersonId
Field 'person_id' in table 'Email': Dictionary type FK, .NET type: Int32
Relations to possible owners
Declaration
public Int32FieldInfo PersonId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
PersonId_InnerJoin_Person
Generated join from the foreign key PersonId in this table, to its target table PersonTableInfo.
Declaration
public TargetedInnerJoin<PersonTableInfo> PersonId_InnerJoin_Person { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<PersonTableInfo> |
ProjectId
Field 'project_id' in table 'Email': Dictionary type FK, .NET type: Int32
Relations to possible owners
Declaration
public Int32FieldInfo ProjectId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
ProjectId_InnerJoin_Project
Generated join from the foreign key ProjectId in this table, to its target table ProjectTableInfo.
Declaration
public TargetedInnerJoin<ProjectTableInfo> ProjectId_InnerJoin_Project { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<ProjectTableInfo> |
Protocol
Field 'protocol' in table 'Email': Dictionary type String[12], .NET type: String
SMTP, MSN, Skype, etc
Declaration
public StringFieldInfo Protocol { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
Rank
Field 'rank' in table 'Email': Dictionary type UShort, .NET type: Int16
Rank order in lists
Declaration
public UInt16FieldInfo Rank { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |
Registered
Field 'registered' in table 'Email': Dictionary type UtcDateTime, .NET type: DateTime
Registered when
Declaration
public DateTimeFieldInfo Registered { get; }
Property Value
Type | Description |
---|---|
DateTimeFieldInfo |
RegisteredAssociateId
Field 'registered_associate_id' in table 'Email': Dictionary type FK, .NET type: Int32
Registered by whom
Declaration
public Int32FieldInfo RegisteredAssociateId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
RegisteredAssociateId_InnerJoin_Associate
Generated join from the foreign key RegisteredAssociateId in this table, to its target table AssociateTableInfo.
Declaration
public TargetedInnerJoin<AssociateTableInfo> RegisteredAssociateId_InnerJoin_Associate { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<AssociateTableInfo> |
ReservedId1
Field 'reserved_id1' in table 'Email': Dictionary type Id, .NET type: Int32
Reserved for potential future owners
Declaration
public Int32FieldInfo ReservedId1 { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
ReservedId2
Field 'reserved_id2' in table 'Email': Dictionary type Id, .NET type: Int32
Reserved for potential future owners
Declaration
public Int32FieldInfo ReservedId2 { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
RuntimeDefinition
Definition of the table as described in the deployed runtime dictionary
Declaration
[Obsolete("Use instance property Definition or static member DictionaryTableNumber", true)]
public static SoTable RuntimeDefinition { get; }
Property Value
Type | Description |
---|---|
SoTable |
Type
Field 'type' in table 'Email': Dictionary type Enum, .NET type: EmailType
0 = email, 1 = chat/instant msg, 2 = voip; see protocol field for more info
Declaration
public EmailTypeFieldInfo Type { get; }
Property Value
Type | Description |
---|---|
EmailTypeFieldInfo |
Updated
Field 'updated' in table 'Email': Dictionary type UtcDateTime, .NET type: DateTime
Last updated when
Declaration
public DateTimeFieldInfo Updated { get; }
Property Value
Type | Description |
---|---|
DateTimeFieldInfo |
UpdatedAssociateId
Field 'updated_associate_id' in table 'Email': Dictionary type FK, .NET type: Int32
Last updated by whom
Declaration
public Int32FieldInfo UpdatedAssociateId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
UpdatedAssociateId_InnerJoin_Associate
Generated join from the foreign key UpdatedAssociateId in this table, to its target table AssociateTableInfo.
Declaration
public TargetedInnerJoin<AssociateTableInfo> UpdatedAssociateId_InnerJoin_Associate { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<AssociateTableInfo> |
UpdatedCount
Field 'updatedCount' in table 'Email': Dictionary type UShort, .NET type: Int16
Number of updates made to this record
Declaration
public UInt16FieldInfo UpdatedCount { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |