Show / Hide Table of Contents

Class CustLangRecordData

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

Inheritance
Object
CustLangRecordData
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 CustLangRecordData
Remarks

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

Constructors

CustLangRecordData()

Declaration
public CustLangRecordData()

Fields

CustLangId

The primary key (auto-incremented)

Declaration
public int CustLangId
Field Value
Type Description
Int32

EmailDomains

Commaseparated list of toplevel domains from where an email should originate in order to trigger this language.

Declaration
public string EmailDomains
Field Value
Type Description
String

EmailHeader

The email header line for this language ('Please keep the subject in any replies...').

Declaration
public string EmailHeader
Field Value
Type Description
String

IsDefault

Bool indicating whether this language is the default (fallback) language.

Declaration
public short IsDefault
Field Value
Type Description
Int16

IsoCode

A two letter iso code for this customer language

Declaration
public string IsoCode
Field Value
Type Description
String

KbRoot

The reference to the FAQ category which is the root category for this language (for separating the FAQ per language).

Declaration
public int KbRoot
Field Value
Type Description
Int32

LangCode

A short code for this language ('no', 'dk', etc). Used in pathname to templates.

Declaration
public string LangCode
Field Value
Type Description
String

Name

The name/alias for this language.

Declaration
public string Name
Field Value
Type Description
String

VirtualDomain

The virtual domain which should trigger this language (e.g. 'support.company.dk' vs. 'support.company.uk')

Declaration
public string VirtualDomain
Field Value
Type Description
String

WebDomains

The domains from where the user should originate (when surfing) in order to trigger this language. Commaseparated list.

Declaration
public string WebDomains
Field Value
Type Description
String

Extension Methods

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