Class HierarchyTableInfo
Table 'hierarchy': This table contains folders used to group the extra tables in the system.
Implements
Inherited Members
Namespace: SuperOffice.CRM.Data
Assembly: SoDataBase.dll
Syntax
[DatabaseTable("hierarchy")]
public class HierarchyTableInfo : 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 Hierarchy in the database dictionary: hierarchy
Declaration
public const string DictionaryTableName = "hierarchy"
Field Value
Type | Description |
---|---|
String |
Properties
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 Hierarchy 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 |
Domain
Field 'domain' in table 'hierarchy': Dictionary type Int, .NET type: Int32
Domain seperating the different hierarchy
Declaration
public Int32FieldInfo Domain { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
Fullname
Field 'fullname' in table 'hierarchy': Dictionary type Clob, .NET type: String
The full name of this category, i.e. Foo/bar/test.
Declaration
public StringFieldInfo Fullname { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
HierarchyId
Field 'id' in table 'hierarchy': Dictionary type PK, .NET type: Int32
The primary key (auto-incremented)
Declaration
public Int32FieldInfo HierarchyId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
LeftOuterJoin_EjRole_UserGroup
Generated left outer join from the primary key HierarchyId on this table, to EjRole.UserGroup.
Declaration
public TargetedLeftOuterJoin<EjRoleTableInfo> LeftOuterJoin_EjRole_UserGroup { get; }
Property Value
Type | Description |
---|---|
TargetedLeftOuterJoin<EjRoleTableInfo> |
LeftOuterJoin_Ejscript_HierarchyId
Generated left outer join from the primary key HierarchyId on this table, to Ejscript.HierarchyId.
Declaration
public TargetedLeftOuterJoin<EjscriptTableInfo> LeftOuterJoin_Ejscript_HierarchyId { get; }
Property Value
Type | Description |
---|---|
TargetedLeftOuterJoin<EjscriptTableInfo> |
LeftOuterJoin_Ejselection_HierarchyId
Generated left outer join from the primary key HierarchyId on this table, to Ejselection.HierarchyId.
Declaration
public TargetedLeftOuterJoin<EjselectionTableInfo> LeftOuterJoin_Ejselection_HierarchyId { get; }
Property Value
Type | Description |
---|---|
TargetedLeftOuterJoin<EjselectionTableInfo> |
LeftOuterJoin_Ejuser_Usergroup
Generated left outer join from the primary key HierarchyId on this table, to Ejuser.Usergroup.
Declaration
public TargetedLeftOuterJoin<EjuserTableInfo> LeftOuterJoin_Ejuser_Usergroup { get; }
Property Value
Type | Description |
---|---|
TargetedLeftOuterJoin<EjuserTableInfo> |
LeftOuterJoin_ExternalDocument_HierarchyId
Generated left outer join from the primary key HierarchyId on this table, to ExternalDocument.HierarchyId.
Declaration
public TargetedLeftOuterJoin<ExternalDocumentTableInfo> LeftOuterJoin_ExternalDocument_HierarchyId { get; }
Property Value
Type | Description |
---|---|
TargetedLeftOuterJoin<ExternalDocumentTableInfo> |
LeftOuterJoin_ExtraTables_HierarchyId
Generated left outer join from the primary key HierarchyId on this table, to ExtraTables.HierarchyId.
Declaration
public TargetedLeftOuterJoin<ExtraTablesTableInfo> LeftOuterJoin_ExtraTables_HierarchyId { get; }
Property Value
Type | Description |
---|---|
TargetedLeftOuterJoin<ExtraTablesTableInfo> |
LeftOuterJoin_ScreenDefinition_HierarchyId
Generated left outer join from the primary key HierarchyId on this table, to ScreenDefinition.HierarchyId.
Declaration
public TargetedLeftOuterJoin<ScreenDefinitionTableInfo> LeftOuterJoin_ScreenDefinition_HierarchyId { get; }
Property Value
Type | Description |
---|---|
TargetedLeftOuterJoin<ScreenDefinitionTableInfo> |
Name
Field 'name' in table 'hierarchy': Dictionary type String[129], .NET type: String
Name of this hierarchy folder.
Declaration
public StringFieldInfo Name { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
ParentId
Field 'parent_id' in table 'hierarchy': Dictionary type FK, .NET type: Int32
Parent table
Declaration
public Int32FieldInfo ParentId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
ParentId_InnerJoin_Hierarchy
Generated join from the foreign key ParentId in this table, to its target table HierarchyTableInfo.
Declaration
public TargetedInnerJoin<HierarchyTableInfo> ParentId_InnerJoin_Hierarchy { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<HierarchyTableInfo> |
Registered
Field 'registered' in table 'hierarchy': Dictionary type UtcDateTime, .NET type: DateTime
Registered when
Declaration
public DateTimeFieldInfo Registered { get; }
Property Value
Type | Description |
---|---|
DateTimeFieldInfo |
RegisteredAssociateId
Field 'registered_associate_id' in table 'hierarchy': Dictionary type FK, .NET type: Int32
Registered by whom
Declaration
public Int32FieldInfo RegisteredAssociateId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
RegisteredAssociateId_InnerJoin_Associate
Generated join from the foreign key RegisteredAssociateId in this table, to its target table AssociateTableInfo.
Declaration
public TargetedInnerJoin<AssociateTableInfo> RegisteredAssociateId_InnerJoin_Associate { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<AssociateTableInfo> |
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 |
Updated
Field 'updated' in table 'hierarchy': Dictionary type UtcDateTime, .NET type: DateTime
Last updated when
Declaration
public DateTimeFieldInfo Updated { get; }
Property Value
Type | Description |
---|---|
DateTimeFieldInfo |
UpdatedAssociateId
Field 'updated_associate_id' in table 'hierarchy': Dictionary type FK, .NET type: Int32
Last updated by whom
Declaration
public Int32FieldInfo UpdatedAssociateId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
UpdatedAssociateId_InnerJoin_Associate
Generated join from the foreign key UpdatedAssociateId in this table, to its target table AssociateTableInfo.
Declaration
public TargetedInnerJoin<AssociateTableInfo> UpdatedAssociateId_InnerJoin_Associate { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<AssociateTableInfo> |
UpdatedCount
Field 'updatedCount' in table 'hierarchy': Dictionary type UShort, .NET type: Int16
Number of updates made to this record
Declaration
public UInt16FieldInfo UpdatedCount { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |