Show / Hide Table of Contents

Class EmailAccountTableInfo

Table 'email_account': Email account information

Inheritance
object
TableInfo
EmailAccountTableInfo
Implements
ICloneable
Inherited Members
TableInfo.ToString()
TableInfo.RegisterFields(params FieldInfo[])
TableInfo.FieldInfoFromSoField(SoField)
TableInfo.Clone()
TableInfo.IsSameTable(TableInfo)
TableInfo.FindField(string)
TableInfo.ProtAll
TableInfo.UseNolockIfPossible
TableInfo.HashCheckFields
TableInfo.TableName
TableInfo.DbName
TableInfo.IsDictionaryTable
TableInfo.All
TableInfo.this[string]
TableInfo.PrimaryKeyField
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOfficeCRMData
Assembly: SoDataBase.dll
Syntax
[DatabaseTable("email_account")]
public class EmailAccountTableInfo : 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 TablesInfo.GetEmailAccountInfo().

Fields

DictionaryTableName

Conceptual name of table EmailAccount in the database dictionary: email_account

Declaration
public const string DictionaryTableName = "email_account"
Field Value
Type Description
string

Properties

AccountStatus

Field 'account_status' in table 'email_account': Dictionary type Enum, .NET type: EmailAccountStatus

The status of this email account

Declaration
public EmailAccountStatusFieldInfo AccountStatus { get; }
Property Value
Type Description
EmailAccountStatusFieldInfo

AssociateId

Field 'associate_id' in table 'email_account': Dictionary type FK, target: Associate, .NET type: int

Associate who owns this email account

Declaration
public Int32FieldInfo AssociateId { get; }
Property Value
Type Description
Int32FieldInfo

AssociateId_InnerJoin_Associate

Generated join from the foreign key AssociateId in this table, to its target table AssociateTableInfo.

Declaration
public TargetedInnerJoin<AssociateTableInfo> AssociateId_InnerJoin_Associate { get; }
Property Value
Type Description
TargetedInnerJoinAssociateTableInfo

Default

Field 'default' in table 'email_account': Dictionary type Bool, .NET type: short

True if this account is the default account for the associate who owns it

Declaration
public UInt16FieldInfo Default { get; }
Property Value
Type Description
UInt16FieldInfo

Definition

Definition of the table as described in the deployed runtime dictionary

Declaration
public override SoTable Definition { get; }
Property Value
Type Description
SoTable
Overrides
TableInfo.Definition

DictionaryTableNumber

Table number for table EmailAccount 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
int

EmailAccountId

Field 'email_account_id' in table 'email_account': Dictionary type PK, .NET type: int

Primary key

Declaration
public Int32FieldInfo EmailAccountId { get; }
Property Value
Type Description
Int32FieldInfo

EmailAddress

Field 'email_address' in table 'email_account': Dictionary type String[256], .NET type: string

The From-address

Declaration
public StringFieldInfo EmailAddress { get; }
Property Value
Type Description
StringFieldInfo

EncryptedCheck

Field 'encryptedCheck' in table 'email_account': Dictionary type String[255], .NET type: string

Encrypted hash checksum

Declaration
public StringFieldInfo EncryptedCheck { get; }
Property Value
Type Description
StringFieldInfo

ErrorCount

Field 'error_count' in table 'email_account': Dictionary type Int, .NET type: int

How many failures since reset

Declaration
public Int32FieldInfo ErrorCount { get; }
Property Value
Type Description
Int32FieldInfo

ErrorReason

Field 'error_reason' in table 'email_account': Dictionary type String[255], .NET type: string

Reason for last failure if available

Declaration
public StringFieldInfo ErrorReason { get; }
Property Value
Type Description
StringFieldInfo

IncomingAuth

Field 'incoming_auth' in table 'email_account': Dictionary type FK, target: ServiceAuth, .NET type: int

Incoming server (imap) authentication

Declaration
public Int32FieldInfo IncomingAuth { get; }
Property Value
Type Description
Int32FieldInfo

IncomingAuth_InnerJoin_ServiceAuth

Generated join from the foreign key IncomingAuth in this table, to its target table ServiceAuthTableInfo.

Declaration
public TargetedInnerJoin<ServiceAuthTableInfo> IncomingAuth_InnerJoin_ServiceAuth { get; }
Property Value
Type Description
TargetedInnerJoinServiceAuthTableInfo

LastFetch

Field 'last_fetch' in table 'email_account': Dictionary type UtcDateTime, .NET type: DateTime

When we last fetched email.

Declaration
public DateTimeFieldInfo LastFetch { get; }
Property Value
Type Description
DateTimeFieldInfo

LeftOuterJoin_EmailFolder_AccountId

Generated left outer join from the primary key EmailAccountId on this table, to EmailFolder.AccountId.

Declaration
public TargetedLeftOuterJoin<EmailFolderTableInfo> LeftOuterJoin_EmailFolder_AccountId { get; }
Property Value
Type Description
TargetedLeftOuterJoinEmailFolderTableInfo

LeftOuterJoin_EmailItem_AccountId

Generated left outer join from the primary key EmailAccountId on this table, to EmailItem.AccountId.

Declaration
public TargetedLeftOuterJoin<EmailItemTableInfo> LeftOuterJoin_EmailItem_AccountId { get; }
Property Value
Type Description
TargetedLeftOuterJoinEmailItemTableInfo

OutgoingAuth

Field 'outgoing_auth' in table 'email_account': Dictionary type FK, target: ServiceAuth, .NET type: int

Outgoing server (smtp) authentication

Declaration
public Int32FieldInfo OutgoingAuth { get; }
Property Value
Type Description
Int32FieldInfo

OutgoingAuth_InnerJoin_ServiceAuth

Generated join from the foreign key OutgoingAuth in this table, to its target table ServiceAuthTableInfo.

Declaration
public TargetedInnerJoin<ServiceAuthTableInfo> OutgoingAuth_InnerJoin_ServiceAuth { get; }
Property Value
Type Description
TargetedInnerJoinServiceAuthTableInfo

Registered

Field 'registered' in table 'email_account': 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_account': Dictionary type FK, target: Associate, .NET type: int

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
TargetedInnerJoinAssociateTableInfo

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

SimpleMode

Field 'simple_mode' in table 'email_account': Dictionary type Bool, .NET type: short

Simple mode used for sending and retrieving invitations, accept/decline etc. without the full Inbox GUI experience, if for instance you prefer Outlook or other for that.

Declaration
public UInt16FieldInfo SimpleMode { get; }
Property Value
Type Description
UInt16FieldInfo

Updated

Field 'updated' in table 'email_account': 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_account': Dictionary type FK, target: Associate, .NET type: int

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
TargetedInnerJoinAssociateTableInfo

UpdatedCount

Field 'updatedCount' in table 'email_account': Dictionary type UShort, .NET type: short

Number of updates made to this record

Declaration
public UInt16FieldInfo UpdatedCount { get; }
Property Value
Type Description
UInt16FieldInfo

Implements

ICloneable

Extension Methods

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