Table of Contents

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

string

Count

Returns the approximate number of records in the table.

public long Count { get; }

Property Value

long

TableID

Returns the SysTableID for the cached table in the repository of Polar Studio.

public int TableID { get; }

Property Value

int

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

int

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

pRecordID long

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

pRecordID long

The ID of the record to get the identifier for.

pApplication BudaApplication

The application.

Returns

string

The identifier for the record or [RecordID] if not found/no permissions.