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
System.Object
ConfigRecordData
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class ConfigRecordData : Object
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()

Declaration
public ConfigRecordData()

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
System.String

AttachmentPath

The path to the folder containing the attachments.

Declaration
public string AttachmentPath
Field Value
Type Description
System.String

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
System.Int32

CgiBin

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

Declaration
public string CgiBin
Field Value
Type Description
System.String

CgiUrl

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

Declaration
public string CgiUrl
Field Value
Type Description
System.String

CgiUrlInternal

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

Declaration
public string CgiUrlInternal
Field Value
Type Description
System.String

ConfigId

The primary key (auto-incremented)

Declaration
public int ConfigId
Field Value
Type Description
System.Int32

DebugFlags

A default bitmask of flags controlling debug logging.

Declaration
public int DebugFlags
Field Value
Type Description
System.Int32

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
System.String

FeatureToggle

Temporary values used for feature toggles

Declaration
public string FeatureToggle
Field Value
Type Description
System.String

Flags

A bitmask of flags controlling various options.

Declaration
public int Flags
Field Value
Type Description
System.Int32

GfxUrl

The base URL to the graphics files.

Declaration
public string GfxUrl
Field Value
Type Description
System.String

InstalledAt

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

Declaration
public DateTime InstalledAt
Field Value
Type Description
System.DateTime

InstalledBy

Whoever installed the software.

Declaration
public string InstalledBy
Field Value
Type Description
System.String

Language

The systemlanguage. 'no' or 'en'.

Declaration
public string Language
Field Value
Type Description
System.String

Mailheader

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

Declaration
public string Mailheader
Field Value
Type Description
System.String

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
System.Int32

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
System.Int32

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
System.Int32

PanicMail

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

Declaration
public string PanicMail
Field Value
Type Description
System.String

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
System.Int32

SmtpHost

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

Declaration
public string SmtpHost
Field Value
Type Description
System.String

SmtpPort

The port of the SMTP server used for sending email.

Declaration
public int SmtpPort
Field Value
Type Description
System.Int32

Tag

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

Declaration
public string Tag
Field Value
Type Description
System.String

TemplatePath

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

Declaration
public string TemplatePath
Field Value
Type Description
System.String

TempLicense

Temporary license key created for this session.

Declaration
public string TempLicense
Field Value
Type Description
System.String

TextPath

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

Declaration
public string TextPath
Field Value
Type Description
System.String

UniqueId

An ID that should be unique for all eJournal installations.

Declaration
public string UniqueId
Field Value
Type Description
System.String

Version

The version of the installed software.

Declaration
public string Version
Field Value
Type Description
System.String

Warning

The path + leading filename for the warning logfiles.

Declaration
public string Warning
Field Value
Type Description
System.String

Extension Methods

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