Show / Hide Table of Contents

Class ExtFieldTableInfo

Table 'ext_field': This table contains entries mapping an external field to an internal field. Used for database integration.

Inheritance
Object
TableInfo
ExtFieldTableInfo
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("ext_field")]
public class ExtFieldTableInfo : 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 ExtField in the database dictionary: ext_field

Declaration
public const string DictionaryTableName = "ext_field"
Field Value
Type Description
String

Properties

Datatype

Field 'datatype' in table 'ext_field': Dictionary type Int, .NET type: Int32

The datatype for this field. TODO: depreciated?

Declaration
public Int32FieldInfo Datatype { 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 ExtField 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

ExtFieldId

Field 'id' in table 'ext_field': Dictionary type PK, .NET type: Int32

The primary key (auto-incremented)

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

ExtTable

Field 'ext_table' in table 'ext_field': Dictionary type FK, .NET type: Int32

The reference to the associated ext_table

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

ExtTable_InnerJoin_ExtTable

Generated join from the foreign key ExtTable in this table, to its target table ExtTableTableInfo.

Declaration
public TargetedInnerJoin<ExtTableTableInfo> ExtTable_InnerJoin_ExtTable { get; }
Property Value
Type Description
TargetedInnerJoin<ExtTableTableInfo>

Flags

Field 'flags' in table 'ext_field': Dictionary type Int, .NET type: Int32

Bitmap for flags for this entry.

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

Name

Field 'name' in table 'ext_field': Dictionary type String[256], .NET type: String

The name for this field.

Declaration
public StringFieldInfo Name { 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

SeqOrder

Field 'seq_order' in table 'ext_field': Dictionary type Int, .NET type: Int32

The column number for this field. Strictly ascending.

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

Target

Field 'target' in table 'ext_field': Dictionary type String[65], .NET type: String

The target for this field. E.g. 'customer.name'.

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

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