Class LanguageInfoCache
Summary description for LanguageInfoFormatInfo.
Inherited Members
Namespace: SuperOffice.CRM.Globalization
Assembly: SoDataBase.dll
Syntax
public class LanguageInfoCache : CacheBase, IDisposable, IFlushable
Methods
GetCachedTableNumbers()
Declaration
public override int[] GetCachedTableNumbers()
Returns
Type | Description |
---|---|
Int32[] |
Overrides
GetCurrent()
Get the current instance of the LanguageInfoCache
Declaration
public static LanguageInfoCache GetCurrent()
Returns
Type | Description |
---|---|
LanguageInfoCache | Current instance of the LanguageInfo cache. |
GetFromId(Int32)
Get the LanguageInfoRow from it's primary key in the database.
Declaration
public LanguageInfoRow GetFromId(int languageInfoId)
Parameters
Type | Name | Description |
---|---|---|
Int32 | languageInfoId |
Returns
Type | Description |
---|---|
LanguageInfoRow | LanguageInfoRow for the language. |
GetFromName(String)
Get a LanguageInfoRow from it's name. The name can be either 2 or 3 letter ISO abbriviations for the language or the official name of the language in english.
Declaration
public LanguageInfoRow GetFromName(string name)
Parameters
Type | Name | Description |
---|---|---|
String | name | Name of the language: 2 and 3 letter ISO abbriviation for the name and name of the language according to ISO. |
Returns
Type | Description |
---|---|
LanguageInfoRow | LanguageInfoRow for the language. |
OnFlush()
Declaration
protected override void OnFlush()
Overrides
OnRefresh()
Declaration
protected override void OnRefresh()
Overrides
Implements
Extension Methods
EnumUtil.MapEnums<From, To>(From)