Show / Hide Table of Contents

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.

Inheritance
Object
TableInfo
CacheTablesTableInfo
Implements
ICloneable
Inherited Members
TableInfo.ToString()
TableInfo.RegisterFields(FieldInfo[])
TableInfo.FieldInfoFromSoField(SoField)
TableInfo.Clone()
TableInfo.IsSameTable(TableInfo)
TableInfo.FindField(String)
TableInfo.ProtAll
TableInfo.HashCheckFields
TableInfo.TableName
TableInfo.DbName
TableInfo.IsDictionaryTable
TableInfo.All
TableInfo.Item[String]
TableInfo.PrimaryKeyField
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: SuperOffice.CRM.Data
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 .

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: Int32

Primary key

Declaration
public Int32FieldInfo CacheTabsId { get; }
Property Value
Type Description
Int32FieldInfo

CheckSum

Field 'checkSum' in table 'CacheTables': Dictionary type Int, .NET type: Int32

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
TableInfo.Definition

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
Int32

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: Int32

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: Int32

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: Int16

ID of table to be cached in local file

Declaration
public UInt16FieldInfo TableId { get; }
Property Value
Type Description
UInt16FieldInfo

Implements

System.ICloneable

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top