Class StatusMonitorCache
Cache for status monitor definitions, including name and description in the current language, from the localetext and text tables
Inherited Members
Namespace: SuperOffice.CRM.Cache
Assembly: SoDataBase.dll
Syntax
public class StatusMonitorCache : CacheBase, IDisposable, IFlushable
Methods
GetByOwner(SoTable)
Get an enumeration of status monitors, based on an owner
Declaration
public IEnumerable<StatusMonitorInfo> GetByOwner(SoTable owner)
Parameters
Type | Name | Description |
---|---|---|
SoTable | owner | Table definition of owner table; null will return empty enumeration |
Returns
Type | Description |
---|---|
IEnumerable<StatusMonitorInfo> | Enumeration; empty if owner does not exists or has no status monitors |
GetCachedTableNumbers()
Declaration
public override int[] GetCachedTableNumbers()
Returns
Type | Description |
---|---|
Int32[] |
Overrides
GetCurrent()
Obtain an instance of the StatusMonitorCache
Declaration
public static StatusMonitorCache GetCurrent()
Returns
Type | Description |
---|---|
StatusMonitorCache |
GetFromId(Int32)
Get information about a status monitor, based on a unique ID.
Declaration
public StatusMonitorInfo GetFromId(int id)
Parameters
Type | Name | Description |
---|---|---|
Int32 | id | Database primary key of statusdef row |
Returns
Type | Description |
---|---|
StatusMonitorInfo | Information, or null if key does not exist |
OnFlush()
Declaration
protected override void OnFlush()
Overrides
OnRefresh()
Declaration
protected override void OnRefresh()
Overrides
Implements
Extension Methods
EnumUtil.MapEnums<From, To>(From)