Class EjRoleTableInfo
Table 'ej_role': Define access rights, memberships and other properties for role user members
Implements
Inherited Members
Namespace: SuperOffice.CRM.Data
Assembly: SoDataBase.dll
Syntax
[DatabaseTable("ej_role")]
public class EjRoleTableInfo : 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 EjRole in the database dictionary: ej_role
Declaration
public const string DictionaryTableName = "ej_role"
Field Value
Type | Description |
---|---|
String |
Properties
AccessMask
Field 'access_mask' in table 'ej_role': Dictionary type Int, .NET type: Int32
Access mask for users using this role
Declaration
public Int32FieldInfo AccessMask { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
AccessValues
Field 'access_values' in table 'ej_role': Dictionary type Int, .NET type: Int32
Access values for users using this role
Declaration
public Int32FieldInfo AccessValues { 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
DictionaryTableNumber
Table number for table EjRole 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 |
EjRoleId
Field 'id' in table 'ej_role': Dictionary type PK, .NET type: Int32
The primary key (auto-incremented)
Declaration
public Int32FieldInfo EjRoleId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
LeftOuterJoin_RoleCategory_Role
Generated left outer join from the primary key EjRoleId on this table, to RoleCategory.Role.
Declaration
public TargetedLeftOuterJoin<RoleCategoryTableInfo> LeftOuterJoin_RoleCategory_Role { get; }
Property Value
Type | Description |
---|---|
TargetedLeftOuterJoin<RoleCategoryTableInfo> |
LeftOuterJoin_RoleElement_Role
Generated left outer join from the primary key EjRoleId on this table, to RoleElement.Role.
Declaration
public TargetedLeftOuterJoin<RoleElementTableInfo> LeftOuterJoin_RoleElement_Role { get; }
Property Value
Type | Description |
---|---|
TargetedLeftOuterJoin<RoleElementTableInfo> |
LeftOuterJoin_RoleMember_Role
Generated left outer join from the primary key EjRoleId on this table, to RoleMember.Role.
Declaration
public TargetedLeftOuterJoin<RoleMemberTableInfo> LeftOuterJoin_RoleMember_Role { get; }
Property Value
Type | Description |
---|---|
TargetedLeftOuterJoin<RoleMemberTableInfo> |
LeftOuterJoin_RoleWorkflow_Role
Generated left outer join from the primary key EjRoleId on this table, to RoleWorkflow.Role.
Declaration
public TargetedLeftOuterJoin<RoleWorkflowTableInfo> LeftOuterJoin_RoleWorkflow_Role { get; }
Property Value
Type | Description |
---|---|
TargetedLeftOuterJoin<RoleWorkflowTableInfo> |
Name
Field 'name' in table 'ej_role': Dictionary type String[256], .NET type: String
This is the name of the role
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 |
UseCategories
Field 'use_categories' in table 'ej_role': Dictionary type Bool, .NET type: Int16
Override user categories with role categories
Declaration
public UInt16FieldInfo UseCategories { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |
UserGroup
Field 'user_group' in table 'ej_role': Dictionary type FK, .NET type: Int32
The group this user is member of
Declaration
public Int32FieldInfo UserGroup { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
UserGroup_InnerJoin_Hierarchy
Generated join from the foreign key UserGroup in this table, to its target table HierarchyTableInfo.
Declaration
public TargetedInnerJoin<HierarchyTableInfo> UserGroup_InnerJoin_Hierarchy { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<HierarchyTableInfo> |
UseUserGroup
Field 'use_user_group' in table 'ej_role': Dictionary type Bool, .NET type: Int16
Override user user group with role
Declaration
public UInt16FieldInfo UseUserGroup { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |