Show / Hide Table of Contents

Class ConfigRecordData

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

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

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

Constructors

ConfigRecordData()

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

Declaration
public ConfigRecordData()
Remarks

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

Fields

AdminMail

The email address to the administrator of the system. E.g. ejournal-admin@company.com.

Declaration
public string AdminMail
Field Value
Type Description
string
Remarks

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

AttachmentPath

The path to the folder containing the attachments.

Declaration
public string AttachmentPath
Field Value
Type Description
string
Remarks

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

Autologout

The number of minutes if idle time before a user is logged ut. A zero value means no autologout.

Declaration
public int Autologout
Field Value
Type Description
int
Remarks

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

CgiBin

The cgi-bin alias used to access the executables through HTTP. E.g. '/bin'

Declaration
public string CgiBin
Field Value
Type Description
string
Remarks

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

CgiUrl

The base URL to the system. E.g. 'http://ejournal.company.com'.

Declaration
public string CgiUrl
Field Value
Type Description
string
Remarks

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

CgiUrlInternal

The internal base URL to the system. E.g. 'http://ejournal.company.com'.

Declaration
public string CgiUrlInternal
Field Value
Type Description
string
Remarks

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

ConfigId

The primary key (auto-incremented)

Declaration
public int ConfigId
Field Value
Type Description
int
Remarks

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

DebugFlags

A default bitmask of flags controlling debug logging.

Declaration
public int DebugFlags
Field Value
Type Description
int
Remarks

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

DefaultMail

The default from address in emails being sent from the system. E.g. support@company.com.

Declaration
public string DefaultMail
Field Value
Type Description
string
Remarks

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

FeatureToggle

Temporary values used for feature toggles

Declaration
public string FeatureToggle
Field Value
Type Description
string
Remarks

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

Flags

A bitmask of flags controlling various options.

Declaration
public int Flags
Field Value
Type Description
int
Remarks

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

GfxUrl

The base URL to the graphics files.

Declaration
public string GfxUrl
Field Value
Type Description
string
Remarks

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

InstalledAt

The timestamp of when the system was installed, or last upgraded.

Declaration
public DateTime InstalledAt
Field Value
Type Description
DateTime
Remarks

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

InstalledBy

Whoever installed the software.

Declaration
public string InstalledBy
Field Value
Type Description
string
Remarks

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

Language

The systemlanguage. 'no' or 'en'.

Declaration
public string Language
Field Value
Type Description
string
Remarks

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

Mailheader

The default header used (i.e. line 1) in outbound email.

Declaration
public string Mailheader
Field Value
Type Description
string
Remarks

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

MbMaxValue

This is the upper (initial) value for the spam-control algorithm, which makes sure that a single email address does not recieve too many emails.

Declaration
public int MbMaxValue
Field Value
Type Description
int
Remarks

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

MbModifier

This is the 'cost' of sending an email, which is subtracted from the mb-value for the given email address. The mb-value is increased with 1 every second.

Declaration
public int MbModifier
Field Value
Type Description
int
Remarks

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

MbThreshold

This is the treshold value for the spam-contol algorithm. When the value for a given email address is below this value, emails will be blocked.

Declaration
public int MbThreshold
Field Value
Type Description
int
Remarks

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

PanicMail

The email address to where error messages are sent. Normally error@superoffice.com.

Declaration
public string PanicMail
Field Value
Type Description
string
Remarks

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

Simautologout

The number of minutes if idle time before a simultaneus user is logged ut. A zero value means no autologout.

Declaration
public int Simautologout
Field Value
Type Description
int
Remarks

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

SmtpHost

The hostname or IP-address of the SMTP server used for sending email.

Declaration
public string SmtpHost
Field Value
Type Description
string
Remarks

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

SmtpPort

The port of the SMTP server used for sending email.

Declaration
public int SmtpPort
Field Value
Type Description
int
Remarks

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

Tag

The tag used as ticket id identificator in the subject of emails.

Declaration
public string Tag
Field Value
Type Description
string
Remarks

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

TempLicense

Temporary license key created for this session.

Declaration
public string TempLicense
Field Value
Type Description
string
Remarks

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

TemplatePath

The path to the templates used for the customer front-end.

Declaration
public string TemplatePath
Field Value
Type Description
string
Remarks

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

TextPath

The path to the text-folder containing the emailBackup, trashbin, etc. subfolders.

Declaration
public string TextPath
Field Value
Type Description
string
Remarks

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

UniqueId

An ID that should be unique for all eJournal installations.

Declaration
public string UniqueId
Field Value
Type Description
string
Remarks

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

Version

The version of the installed software.

Declaration
public string Version
Field Value
Type Description
string
Remarks

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

Warning

The path + leading filename for the warning logfiles.

Declaration
public string Warning
Field Value
Type Description
string
Remarks

Please use this class instead of a full ConfigRow 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 ConfigTableInfo 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)
ConfigRecordDataExtensions.ToInsertAsync(ConfigRecordData, 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