Show / Hide Table of Contents

Class DatabaseModelTableInfo

Table 'DatabaseModel': New DatabaseModel used by Continuous Database

Inheritance
object
TableInfo
DatabaseModelTableInfo
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("DatabaseModel")]
public class DatabaseModelTableInfo : 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.GetDatabaseModelInfo().

Fields

DictionaryTableName

Conceptual name of table DatabaseModel in the database dictionary: DatabaseModel

Declaration
public const string DictionaryTableName = "DatabaseModel"
Field Value
Type Description
string

Properties

DatabaseModelId

Field 'databasemodel_id' in table 'DatabaseModel': Dictionary type PK, .NET type: int

Primary key

Declaration
public Int32FieldInfo DatabaseModelId { 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 DatabaseModel 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

IsDatabaseUnicode

Field 'IsDatabaseUnicode' in table 'DatabaseModel': Dictionary type Bool, .NET type: short

Almost all databases are unicode capable

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

ModelData

Field 'ModelData' in table 'DatabaseModel': Dictionary type Blob, .NET type: Stream

Compressed json string containing DatabaseModel of the given version

Declaration
public FieldInfo ModelData { get; }
Property Value
Type Description
FieldInfo

ModelVersion

Field 'ModelVersion' in table 'DatabaseModel': Dictionary type String[129], .NET type: string

Model type version name - not the data, but the structure of the model itself

Declaration
public StringFieldInfo ModelVersion { get; }
Property Value
Type Description
StringFieldInfo

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

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