Class ChatTopicUserTableInfo
Table 'chat_topic_user': This table connected the chat topics with the users (i.e. the membership).
Implements
Inherited Members
Namespace: SuperOffice.CRM.Data
Assembly: SoDataBase.dll
Syntax
[DatabaseTable("chat_topic_user")]
public class ChatTopicUserTableInfo : 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 ChatTopicUser in the database dictionary: chat_topic_user
Declaration
public const string DictionaryTableName = "chat_topic_user"
Field Value
Type | Description |
---|---|
System.String |
Properties
CanListen
Field 'can_listen' in table 'chat_topic_user': Dictionary type Bool, .NET type: System.Int16
True of a user can listen in on this topic
Declaration
public UInt16FieldInfo CanListen { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |
CanRespond
Field 'can_respond' in table 'chat_topic_user': Dictionary type Bool, .NET type: System.Int16
True if the user can respond to chats in this topic
Declaration
public UInt16FieldInfo CanRespond { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |
ChatTopicUserId
Field 'id' in table 'chat_topic_user': Dictionary type PK, .NET type: System.Int32
The primary key (auto-incremented)
Declaration
public Int32FieldInfo ChatTopicUserId { 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 ChatTopicUser 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 |
---|---|
System.Int32 |
Manager
Field 'manager' in table 'chat_topic_user': Dictionary type Bool, .NET type: System.Int16
True if the user is a manager for this topic
Declaration
public UInt16FieldInfo Manager { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |
Notifications
Field 'notifications' in table 'chat_topic_user': Dictionary type Bool, .NET type: System.Int16
True if the user should receive notifications for this topic
Declaration
public UInt16FieldInfo Notifications { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |
RuntimeDefinition
Definition of the table as described in the deployed runtime dictionary
Declaration
public static SoTable RuntimeDefinition { get; }
Property Value
Type | Description |
---|---|
SoTable |
TopicId
Field 'topic_id' in table 'chat_topic_user': Dictionary type FK, target: ChatTopic, .NET type: System.Int32
The reference to the associated chat topic.
Declaration
public Int32FieldInfo TopicId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
TopicId_InnerJoin_ChatTopic
Generated join from the foreign key TopicId in this table, to its target table ChatTopicTableInfo.
Declaration
public TargetedInnerJoin<ChatTopicTableInfo> TopicId_InnerJoin_ChatTopic { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<ChatTopicTableInfo> |
UserId
Field 'user_id' in table 'chat_topic_user': Dictionary type FK, target: Ejuser, .NET type: System.Int32
The reference to the associated user
Declaration
public Int32FieldInfo UserId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
UserId_InnerJoin_Ejuser
Generated join from the foreign key UserId in this table, to its target table EjuserTableInfo.
Declaration
public TargetedInnerJoin<EjuserTableInfo> UserId_InnerJoin_Ejuser { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<EjuserTableInfo> |