Class LookupCache
- Namespace
- PolarStudio
- Assembly
- PolarStudio.dll
This class is used for caching lookup values.
public class LookupCache- Inheritance
- 
      
      LookupCache
- Inherited Members
- Extension Methods
Properties
BaseQuery
Returns the base query used for this cache.
public string BaseQuery { get; }Property Value
Count
Returns the approximate number of records in the table.
public long Count { get; }Property Value
TableID
Returns the SysTableID for the cached table in the repository of Polar Studio.
public int TableID { get; }Property Value
UpdatePolicy
Returns the refresh rate in minutes. A refresh rate of 0 means the cache is refreshed every time a dataset is opened.
public int UpdatePolicy { get; }Property Value
Methods
Clear()
This method clears all cached values.
public void Clear()ClearRecord(long)
This method clears the cached value of one specific record.
public void ClearRecord(long pRecordID)Parameters
- pRecordIDlong
- The RecordID to clear. 
GetValue(long, BudaApplication)
This method gets a value for the given RecordID.
public string GetValue(long pRecordID, BudaApplication pApplication = null)Parameters
- pRecordIDlong
- The ID of the record to get the identifier for. 
- pApplicationBudaApplication
- The application. 
Returns
- string
- The identifier for the record or [RecordID] if not found/no permissions.