Class WordRelationsTableInfo
Table 'word_relations': This table shows which word are used in which FAQ entry, and how many times they are used in each
Implements
Inherited Members
Namespace: SuperOffice.CRM.Data
Assembly: SoDataBase.dll
Syntax
[DatabaseTable("word_relations")]
public class WordRelationsTableInfo : 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.GetWordRelationsInfo().
Fields
DictionaryTableName
Conceptual name of table WordRelations in the database dictionary: word_relations
Declaration
public const string DictionaryTableName = "word_relations"
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.GetWordRelationsInfo().
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.GetWordRelationsInfo().
DictionaryTableNumber
Table number for table WordRelations 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.GetWordRelationsInfo().
EntryId
Field 'entry_id' in table 'word_relations': Dictionary type FK, target: KbEntry, .NET type: int
A reference to the id of the entryDeclaration
public Int32FieldInfo EntryId { 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.GetWordRelationsInfo().
EntryId_InnerJoin_KbEntry
Generated join from the foreign key EntryId in this table, to its target table KbEntryTableInfo.
Declaration
public TargetedInnerJoin<KbEntryTableInfo> EntryId_InnerJoin_KbEntry { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<KbEntryTableInfo> |
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.GetWordRelationsInfo().
EntryWordId
Field 'entry_word_id' in table 'word_relations': Dictionary type FK, target: KbEntryWords, .NET type: int
A reference to the id of the wordDeclaration
public Int32FieldInfo EntryWordId { 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.GetWordRelationsInfo().
EntryWordId_InnerJoin_KbEntryWords
Generated join from the foreign key EntryWordId in this table, to its target table KbEntryWordsTableInfo.
Declaration
public TargetedInnerJoin<KbEntryWordsTableInfo> EntryWordId_InnerJoin_KbEntryWords { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<KbEntryWordsTableInfo> |
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.GetWordRelationsInfo().
RelationOrigin
Field 'origin' in table 'word_relations': Dictionary type Short, .NET type: short
Indicates if it is an entry word (0) or a category word (1).Declaration
public Int16FieldInfo RelationOrigin { get; }
Property Value
Type | Description |
---|---|
Int16FieldInfo |
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.GetWordRelationsInfo().
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.GetWordRelationsInfo().
Used
Field 'used' in table 'word_relations': Dictionary type Int, .NET type: int
Indicates how many times this word is used in the FAQ entryDeclaration
public Int32FieldInfo Used { 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.GetWordRelationsInfo().
WordRelationsId
Field 'id' in table 'word_relations': Dictionary type PK, .NET type: int
Primary keyDeclaration
public Int32FieldInfo WordRelationsId { 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.GetWordRelationsInfo().