Show / Hide Table of Contents

Class EmailAccountRecordData

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

Inheritance
object
EmailAccountRecordData
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 EmailAccountRecordData
Remarks

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

Constructors

EmailAccountRecordData()

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

Declaration
public EmailAccountRecordData()
Remarks

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

Fields

AccountStatus

The status of this email account

Declaration
public EmailAccountStatus AccountStatus
Field Value
Type Description
EmailAccountStatus
Remarks

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

AssociateId

Associate who owns this email account

Declaration
public int AssociateId
Field Value
Type Description
int
Remarks

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

Default

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

Declaration
public short Default
Field Value
Type Description
short
Remarks

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

EmailAccountId

Primary key

Declaration
public int EmailAccountId
Field Value
Type Description
int
Remarks

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

EmailAddress

The From-address

Declaration
public string EmailAddress
Field Value
Type Description
string
Remarks

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

EncryptedCheck

Encrypted hash checksum

Declaration
public string EncryptedCheck
Field Value
Type Description
string
Remarks

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

ErrorCount

How many failures since reset

Declaration
public int ErrorCount
Field Value
Type Description
int
Remarks

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

ErrorReason

Reason for last failure if available

Declaration
public string ErrorReason
Field Value
Type Description
string
Remarks

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

IncomingAuth

Incoming server (imap) authentication

Declaration
public int IncomingAuth
Field Value
Type Description
int
Remarks

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

LastFetch

When we last fetched email. in UTC.

Declaration
public DateTime LastFetch
Field Value
Type Description
DateTime
Remarks

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

OutgoingAuth

Outgoing server (smtp) authentication

Declaration
public int OutgoingAuth
Field Value
Type Description
int
Remarks

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

Registered

Registered when in UTC.

Declaration
public DateTime Registered
Field Value
Type Description
DateTime
Remarks

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

RegisteredAssociateId

Registered by whom

Declaration
public int RegisteredAssociateId
Field Value
Type Description
int
Remarks

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

SimpleMode

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 short SimpleMode
Field Value
Type Description
short
Remarks

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

Updated

Last updated when in UTC.

Declaration
public DateTime Updated
Field Value
Type Description
DateTime
Remarks

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

UpdatedAssociateId

Last updated by whom

Declaration
public int UpdatedAssociateId
Field Value
Type Description
int
Remarks

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

UpdatedCount

Number of updates made to this record

Declaration
public short UpdatedCount
Field Value
Type Description
short
Remarks

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

Extension Methods

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