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 TablesInfo.GetHierarchyInfo().
Fields
DictionaryTableName
Conceptual name of table Hierarchy in the database dictionary: hierarchy
Declaration
public const string DictionaryTableName = "hierarchy"
Field Value
Type | Description |
---|---|
string |
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.GetHierarchyInfo().
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
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.GetHierarchyInfo().
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 |
---|---|
int |
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.GetHierarchyInfo().
Domain
Field 'domain' in table 'hierarchy': Dictionary type Int, .NET type: int
Domain seperating the different hierarchyDeclaration
public Int32FieldInfo Domain { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
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.GetHierarchyInfo().
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 |
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.GetHierarchyInfo().
HierarchyId
Field 'id' in table 'hierarchy': Dictionary type PK, .NET type: int
The primary key (auto-incremented)Declaration
public Int32FieldInfo HierarchyId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
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.GetHierarchyInfo().
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> |
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.GetHierarchyInfo().
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> |
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.GetHierarchyInfo().
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> |
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.GetHierarchyInfo().
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> |
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.GetHierarchyInfo().
LeftOuterJoin_EmailFlow_HierarchyId
Generated left outer join from the primary key HierarchyId on this table, to EmailFlow.HierarchyId.
Declaration
public TargetedLeftOuterJoin<EmailFlowTableInfo> LeftOuterJoin_EmailFlow_HierarchyId { get; }
Property Value
Type | Description |
---|---|
TargetedLeftOuterJoin<EmailFlowTableInfo> |
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.GetHierarchyInfo().
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> |
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.GetHierarchyInfo().
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> |
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.GetHierarchyInfo().
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> |
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.GetHierarchyInfo().
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 |
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.GetHierarchyInfo().
ParentId
Field 'parent_id' in table 'hierarchy': Dictionary type FK, target: Hierarchy, .NET type: int
Parent tableDeclaration
public Int32FieldInfo ParentId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
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.GetHierarchyInfo().
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> |
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.GetHierarchyInfo().
Registered
Field 'registered' in table 'hierarchy': Dictionary type UtcDateTime, .NET type: DateTime
Registered whenDeclaration
public DateTimeFieldInfo Registered { get; }
Property Value
Type | Description |
---|---|
DateTimeFieldInfo |
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.GetHierarchyInfo().
RegisteredAssociateId
Field 'registered_associate_id' in table 'hierarchy': Dictionary type FK, target: Associate, .NET type: int
Registered by whomDeclaration
public Int32FieldInfo RegisteredAssociateId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
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.GetHierarchyInfo().
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> |
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.GetHierarchyInfo().
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 |
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.GetHierarchyInfo().
Updated
Field 'updated' in table 'hierarchy': Dictionary type UtcDateTime, .NET type: DateTime
Last updated whenDeclaration
public DateTimeFieldInfo Updated { get; }
Property Value
Type | Description |
---|---|
DateTimeFieldInfo |
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.GetHierarchyInfo().
UpdatedAssociateId
Field 'updated_associate_id' in table 'hierarchy': Dictionary type FK, target: Associate, .NET type: int
Last updated by whomDeclaration
public Int32FieldInfo UpdatedAssociateId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
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.GetHierarchyInfo().
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> |
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.GetHierarchyInfo().
UpdatedCount
Field 'updatedCount' in table 'hierarchy': Dictionary type UShort, .NET type: short
Number of updates made to this recordDeclaration
public UInt16FieldInfo UpdatedCount { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |
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.GetHierarchyInfo().