Show / Hide Table of Contents

Class RoleTableInfo

Table 'Role': User roles for role-based security, names and tooltips are in LocaleText. For more information regarding role based security, see http://techdoc.superoffice.com

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

Declaration
public const string DictionaryTableName = "Role"
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
TableInfo.Definition

Deleted

Field 'deleted' in table 'Role': Dictionary type UShort, .NET type: Int16

1 if role has been deleted (we do not actually delete)

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

DictionaryTableNumber

Table number for table Role 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

EncryptedCheck

Field 'encryptedCheck' in table 'Role': Dictionary type String[255], .NET type: String

Encrypted data, to detect unwanted changes

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

LeftOuterJoin_DataRight_RoleId

Generated left outer join from the primary key RoleId on this table, to DataRight.RoleId.

Declaration
public TargetedLeftOuterJoin<DataRightTableInfo> LeftOuterJoin_DataRight_RoleId { get; }
Property Value
Type Description
TargetedLeftOuterJoin<DataRightTableInfo>

LeftOuterJoin_FunctionRightRoleLink_RoleId

Generated left outer join from the primary key RoleId on this table, to FunctionRightRoleLink.RoleId.

Declaration
public TargetedLeftOuterJoin<FunctionRightRoleLinkTableInfo> LeftOuterJoin_FunctionRightRoleLink_RoleId { get; }
Property Value
Type Description
TargetedLeftOuterJoin<FunctionRightRoleLinkTableInfo>

LeftOuterJoin_RoleCategory_CrmRole

Generated left outer join from the primary key RoleId on this table, to RoleCategory.CrmRole.

Declaration
public TargetedLeftOuterJoin<RoleCategoryTableInfo> LeftOuterJoin_RoleCategory_CrmRole { get; }
Property Value
Type Description
TargetedLeftOuterJoin<RoleCategoryTableInfo>

LeftOuterJoin_RoleElement_CrmRole

Generated left outer join from the primary key RoleId on this table, to RoleElement.CrmRole.

Declaration
public TargetedLeftOuterJoin<RoleElementTableInfo> LeftOuterJoin_RoleElement_CrmRole { get; }
Property Value
Type Description
TargetedLeftOuterJoin<RoleElementTableInfo>

LeftOuterJoin_RoleWorkflow_CrmRole

Generated left outer join from the primary key RoleId on this table, to RoleWorkflow.CrmRole.

Declaration
public TargetedLeftOuterJoin<RoleWorkflowTableInfo> LeftOuterJoin_RoleWorkflow_CrmRole { get; }
Property Value
Type Description
TargetedLeftOuterJoin<RoleWorkflowTableInfo>

LeftOuterJoin_UserRoleLink_RoleId

Generated left outer join from the primary key RoleId on this table, to UserRoleLink.RoleId.

Declaration
public TargetedLeftOuterJoin<UserRoleLinkTableInfo> LeftOuterJoin_UserRoleLink_RoleId { get; }
Property Value
Type Description
TargetedLeftOuterJoin<UserRoleLinkTableInfo>

Name

Field 'name' in table 'Role': Dictionary type String[240], .NET type: String

Visible role name

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

Rank

Field 'rank' in table 'Role': Dictionary type UShort, .NET type: Int16

Sorting rank of this role in lists

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

Registered

Field 'registered' in table 'Role': 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 'Role': 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>

RoleId

Field 'Role_id' in table 'Role': Dictionary type PK, .NET type: Int32

Primary key

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

RoleType

Field 'roleType' in table 'Role': Dictionary type Enum, .NET type: RoleType

0 = employee, 1 = external user, 2 = anonymous

Declaration
public RoleTypeFieldInfo RoleType { get; }
Property Value
Type Description
RoleTypeFieldInfo

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

Tooltip

Field 'tooltip' in table 'Role': Dictionary type String[255], .NET type: String

Visible tooltip

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

Updated

Field 'updated' in table 'Role': 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 'Role': 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 'Role': Dictionary type UShort, .NET type: Int16

Number of updates made to this record

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

UseCategories

Field 'use_categories' in table 'Role': Dictionary type Bool, .NET type: Int16

Override user categories with role categories

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

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