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(params FieldInfo[])
TableInfo.FieldInfoFromSoField(SoField)
TableInfo.Clone()
TableInfo.IsSameTable(TableInfo)
TableInfo.FindField(string)
TableInfo.ProtAll
TableInfo.UseNolockIfPossible
TableInfo.HashCheckFields
TableInfo.TableName
TableInfo.DbName
TableInfo.IsDictionaryTable
TableInfo.All
TableInfo.this[string]
TableInfo.PrimaryKeyField
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
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
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
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

Implements

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