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()

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

Declaration
public 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.

Fields

CustLangId

The primary key (auto-incremented)

Declaration
public int CustLangId
Field Value
Type Description
int
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.

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

EmailHeader

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

Declaration
public string EmailHeader
Field Value
Type Description
string
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.

IsDefault

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

Declaration
public short IsDefault
Field Value
Type Description
short
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.

IsoCode

A two letter iso code for this customer language

Declaration
public string IsoCode
Field Value
Type Description
string
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.

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
int
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.

LangCode

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

Declaration
public string LangCode
Field Value
Type Description
string
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.

Name

The name/alias for this language.

Declaration
public string Name
Field Value
Type Description
string
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.

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

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

Extension Methods

EnumUtil.MapEnums<From, To>(From)
CustLangRecordDataExtensions.ToInsertAsync(CustLangRecordData, 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