Class CacheTablesTableInfo
Table 'CacheTables': Specifies which tables should be cached to local files (or otherwise), generally these are the lists and other low-frequency-of-change tables. Contains the ID of any tables cached in SOCache. The files are binary and called <tablename>.bin. <Shift>+<F5> throws all cache files.
Implements
Inherited Members
Namespace: SuperOfficeCRMData
Assembly: SoDataBase.dll
Syntax
[DatabaseTable("CacheTables")]
public class CacheTablesTableInfo : TableInfo, ICloneable
Remarks
An instance of this class represents one instance of this table in an SQL statement. In most
cases each table appears only once in a SELECT, but in cases where you need to self-join, or
there are multiple occurrences for other reasons (typically additional restrictions in the joins),
then you will need multiple instances.
Instances of this class are created by calling TablesInfo.GetCacheTablesInfo().
Fields
DictionaryTableName
Conceptual name of table CacheTables in the database dictionary: CacheTables
Declaration
public const string DictionaryTableName = "CacheTables"
Field Value
| Type | Description |
|---|---|
| string |
Properties
CacheTabsId
Field 'CacheTabs_id' in table 'CacheTables': Dictionary type PK, .NET type: int
Primary key
Declaration
public Int32FieldInfo CacheTabsId { get; }
Property Value
| Type | Description |
|---|---|
| Int32FieldInfo |
CheckSum
Field 'checkSum' in table 'CacheTables': Dictionary type Int, .NET type: int
Checksum after last update of that table
Declaration
public Int32FieldInfo CheckSum { get; }
Property Value
| Type | Description |
|---|---|
| Int32FieldInfo |
Definition
Definition of the table as described in the deployed runtime dictionary
Declaration
public override SoTable Definition { get; }
Property Value
| Type | Description |
|---|---|
| SoTable |
Overrides
DictionaryTableNumber
Table number for table CacheTables in the database dictionary; potentially changes between databases, but always the same over the lifetime of any single database
Declaration
public int DictionaryTableNumber { get; }
Property Value
| Type | Description |
|---|---|
| int |
RuntimeDefinition
Definition of the table as described in the deployed runtime dictionary
Declaration
[Obsolete("Use instance property Definition or static member DictionaryTableNumber", true)]
public static SoTable RuntimeDefinition { get; }
Property Value
| Type | Description |
|---|---|
| SoTable |
SubKeyId
Field 'subKeyId' in table 'CacheTables': Dictionary type FieldId, .NET type: int
Field ID of subkey field
Declaration
public Int32FieldInfo SubKeyId { get; }
Property Value
| Type | Description |
|---|---|
| Int32FieldInfo |
SubKeyValue
Field 'subKeyValue' in table 'CacheTables': Dictionary type Id, .NET type: int
Value of given subkey
Declaration
public Int32FieldInfo SubKeyValue { get; }
Property Value
| Type | Description |
|---|---|
| Int32FieldInfo |
TableId
Field 'tableId' in table 'CacheTables': Dictionary type TableNumber, .NET type: short
ID of table to be cached in local file
Declaration
public UInt16FieldInfo TableId { get; }
Property Value
| Type | Description |
|---|---|
| UInt16FieldInfo |