Show / Hide Table of Contents

Class FreeTextIndexTableInfo

Table 'freetextindex': This is the index table for the free text search function. Each word in FreeTextWords can have multiple occurrences in this table. Each record in this table points to one occurrence of the word, and points to both the table in which the word occurs (which might be contact or text), and also a pointer to the owner table (which is one of contact, person, project, appointment or sale).

Inheritance
object
TableInfo
FreeTextIndexTableInfo
Implements
ICloneable
Inherited Members
TableInfo.ToString()
TableInfo.RegisterFields(params FieldInfo[])
TableInfo.FieldInfoFromSoField(SoField)
TableInfo.Clone()
TableInfo.IsSameTable(TableInfo)
TableInfo.FindField(string)
TableInfo.ProtAll
TableInfo.UseNolockIfPossible
TableInfo.HashCheckFields
TableInfo.TableName
TableInfo.DbName
TableInfo.IsDictionaryTable
TableInfo.All
TableInfo.this[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("freetextindex")]
public class FreeTextIndexTableInfo : 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.GetFreeTextIndexInfo().

Fields

DictionaryTableName

Conceptual name of table FreeTextIndex in the database dictionary: freetextindex

Declaration
public const string DictionaryTableName = "freetextindex"
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.GetFreeTextIndexInfo().

Properties

ContactId

Field 'contact_id' in table 'freetextindex': Dictionary type FK, target: Contact, .NET type: int

Set for contacts and person records to allow cross-table free-text searches. 0 for non-contact, non-person
Declaration
public Int32FieldInfo ContactId { 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.GetFreeTextIndexInfo().

ContactId_InnerJoin_Contact

Generated join from the foreign key ContactId in this table, to its target table ContactTableInfo.

Declaration
public TargetedInnerJoin<ContactTableInfo> ContactId_InnerJoin_Contact { get; }
Property Value
Type Description
TargetedInnerJoin<ContactTableInfo>
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.GetFreeTextIndexInfo().

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
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.GetFreeTextIndexInfo().

DictionaryTableNumber

Table number for table FreeTextIndex 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.GetFreeTextIndexInfo().

FreetextindexId

Field 'freetextindex_id' in table 'freetextindex': Dictionary type PK, .NET type: int

Primary key
Declaration
public Int32FieldInfo FreetextindexId { 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.GetFreeTextIndexInfo().

FreetextwordsId

Field 'freetextwords_id' in table 'freetextindex': Dictionary type FK, target: FreeTextWords, .NET type: int

Reference to word
Declaration
public Int32FieldInfo FreetextwordsId { 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.GetFreeTextIndexInfo().

FreetextwordsId_InnerJoin_FreeTextWords

Generated join from the foreign key FreetextwordsId in this table, to its target table FreeTextWordsTableInfo.

Declaration
public TargetedInnerJoin<FreeTextWordsTableInfo> FreetextwordsId_InnerJoin_FreeTextWords { get; }
Property Value
Type Description
TargetedInnerJoin<FreeTextWordsTableInfo>
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.GetFreeTextIndexInfo().

Infile

Field 'infile' in table 'freetextindex': Dictionary type UShort, .NET type: short

Word found in file (0=word found in database)
Declaration
public UInt16FieldInfo Infile { 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.GetFreeTextIndexInfo().

OwnerrecordId

Field 'ownerrecord_id' in table 'freetextindex': Dictionary type RecordId, .NET type: int

Logical source record. The contact, project, sale that the source belongs to.
Declaration
public Int32FieldInfo OwnerrecordId { 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.GetFreeTextIndexInfo().

OwnertableId

Field 'ownertable_id' in table 'freetextindex': Dictionary type TableNumber, .NET type: short

Logical source table (high-level), like contact or project
Declaration
public UInt16FieldInfo OwnertableId { 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.GetFreeTextIndexInfo().

RecordId

Field 'record_id' in table 'freetextindex': Dictionary type RecordId, .NET type: int

Source record - the row that contains the word. Might be contact record, or an address or phone
Declaration
public Int32FieldInfo RecordId { 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.GetFreeTextIndexInfo().

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.GetFreeTextIndexInfo().

TableId

Field 'table_id' in table 'freetextindex': Dictionary type TableNumber, .NET type: short

Source table number - could be main (contact, person, etc) or sub-tables like address, email
Declaration
public UInt16FieldInfo TableId { 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.GetFreeTextIndexInfo().

Methods

IdxFreetextwordsId(int)

Shortcut method for looking up using the database index FreetextwordsId, which spans the following fields:

FieldDescription
FreetextwordsIdReference to word
Declaration
public Restriction IdxFreetextwordsId(int freetextwordsId)
Parameters
Type Name Description
int freetextwordsId
Returns
Type Description
Restriction
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.GetFreeTextIndexInfo().

IdxOwnerrecordId(int)

Shortcut method for looking up using the database index OwnerrecordId, which spans the following fields:

FieldDescription
OwnerrecordIdLogical source record. The contact, project, sale that the source belongs to.
Declaration
public Restriction IdxOwnerrecordId(int ownerrecordId)
Parameters
Type Name Description
int ownerrecordId
Returns
Type Description
Restriction
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.GetFreeTextIndexInfo().

IdxOwnerrecordIdOwnertableId(int, short)

Shortcut method for looking up using the database index OwnerrecordIdOwnertableId, which spans the following fields:

FieldDescription
OwnerrecordIdLogical source record. The contact, project, sale that the source belongs to.
OwnertableIdLogical source table (high-level), like contact or project
Declaration
public Restriction IdxOwnerrecordIdOwnertableId(int ownerrecordId, short ownertableId)
Parameters
Type Name Description
int ownerrecordId
short ownertableId
Returns
Type Description
Restriction
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.GetFreeTextIndexInfo().

IdxTableId(short)

Shortcut method for looking up using the database index TableId, which spans the following fields:

FieldDescription
TableIdSource table number - could be main (contact, person, etc) or sub-tables like address, email
Declaration
public Restriction IdxTableId(short tableId)
Parameters
Type Name Description
short tableId
Returns
Type Description
Restriction
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.GetFreeTextIndexInfo().

Implements

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