Class SearchCriterionTableInfo
Table 'SearchCriterion': Criteria storage for Selection and other Find mechanisms
Implements
Inherited Members
Namespace: SuperOffice.CRM.Data
Assembly: SoDataBase.dll
Syntax
[DatabaseTable("SearchCriterion")]
public class SearchCriterionTableInfo : 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.GetSearchCriterionInfo().
Fields
DictionaryTableName
Conceptual name of table SearchCriterion in the database dictionary: SearchCriterion
Declaration
public const string DictionaryTableName = "SearchCriterion"
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.GetSearchCriterionInfo().
Properties
Active
Field 'active' in table 'SearchCriterion': Dictionary type UShort, .NET type: short
Should this criterion be executedDeclaration
public UInt16FieldInfo Active { 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.GetSearchCriterionInfo().
ColumnName
Field 'columnName' in table 'SearchCriterion': Dictionary type String[255], .NET type: string
Column name from archive provider in NetServer/SIX.webDeclaration
public StringFieldInfo ColumnName { get; }
Property Value
| Type | Description |
|---|---|
| StringFieldInfo |
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.GetSearchCriterionInfo().
CriterionId
Field 'criterionId' in table 'SearchCriterion': Dictionary type FieldId, .NET type: int
Usually DbFieldId of field to be searchedDeclaration
public Int32FieldInfo CriterionId { 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.GetSearchCriterionInfo().
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.GetSearchCriterionInfo().
DictionaryTableNumber
Table number for table SearchCriterion 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.GetSearchCriterionInfo().
ExtraId
Field 'extraId' in table 'SearchCriterion': Dictionary type Id, .NET type: int
Extra info, forms part of the internal unique identification of the criterionDeclaration
public Int32FieldInfo ExtraId { 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.GetSearchCriterionInfo().
LeftOuterJoin_SearchCriterionValue_SearchCriterionId
Generated left outer join from the primary key SearchCriterionId on this table, to SearchCriterionValue.SearchCriterionId.
Declaration
public TargetedLeftOuterJoin<SearchCriterionValueTableInfo> LeftOuterJoin_SearchCriterionValue_SearchCriterionId { get; }
Property Value
| Type | Description |
|---|---|
| TargetedLeftOuterJoin<SearchCriterionValueTableInfo> |
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.GetSearchCriterionInfo().
LinkType
Field 'linkType' in table 'SearchCriterion': Dictionary type Enum, .NET type: short
Link type, AND or ORDeclaration
public FieldInfo LinkType { get; }
Property Value
| Type | Description |
|---|---|
| FieldInfo |
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.GetSearchCriterionInfo().
OperatorId
Field 'operatorId' in table 'SearchCriterion': Dictionary type Enum, .NET type: short
Operator IDDeclaration
public FieldInfo OperatorId { get; }
Property Value
| Type | Description |
|---|---|
| FieldInfo |
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.GetSearchCriterionInfo().
OperatorName
Field 'operatorName' in table 'SearchCriterion': Dictionary type String[255], .NET type: string
Operator name from archive providerDeclaration
public StringFieldInfo OperatorName { get; }
Property Value
| Type | Description |
|---|---|
| StringFieldInfo |
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.GetSearchCriterionInfo().
Parenthesis
Field 'parenthesis' in table 'SearchCriterion': Dictionary type Short, .NET type: short
Parenthesis value, positive is number of opening parentheses to prepend to this criterion, negative is the number of closing parentheses to appendDeclaration
public Int16FieldInfo Parenthesis { 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.GetSearchCriterionInfo().
Rank
Field 'rank' in table 'SearchCriterion': Dictionary type UShort, .NET type: short
Ordering within this groupDeclaration
public UInt16FieldInfo Rank { 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.GetSearchCriterionInfo().
Registered
Field 'registered' in table 'SearchCriterion': Dictionary type UtcDateTime, .NET type: DateTime
Registered whenDeclaration
public DateTimeFieldInfo Registered { get; }
Property Value
| Type | Description |
|---|---|
| DateTimeFieldInfo |
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.GetSearchCriterionInfo().
RegisteredAssociateId
Field 'registered_associate_id' in table 'SearchCriterion': Dictionary type FK, target: Associate, .NET type: int
Registered by whomDeclaration
public Int32FieldInfo RegisteredAssociateId { 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.GetSearchCriterionInfo().
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> |
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.GetSearchCriterionInfo().
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.GetSearchCriterionInfo().
SearchCriteriaGroupId
Field 'SearchCriteriaGroup_id' in table 'SearchCriterion': Dictionary type FK, target: SearchCriteriaGroup, .NET type: int
Owning groupDeclaration
public Int32FieldInfo SearchCriteriaGroupId { 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.GetSearchCriterionInfo().
SearchCriteriaGroupId_InnerJoin_SearchCriteriaGroup
Generated join from the foreign key SearchCriteriaGroupId in this table, to its target table SearchCriteriaGroupTableInfo.
Declaration
public TargetedInnerJoin<SearchCriteriaGroupTableInfo> SearchCriteriaGroupId_InnerJoin_SearchCriteriaGroup { get; }
Property Value
| Type | Description |
|---|---|
| TargetedInnerJoin<SearchCriteriaGroupTableInfo> |
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.GetSearchCriterionInfo().
SearchCriterionId
Field 'SearchCriterion_id' in table 'SearchCriterion': Dictionary type PK, .NET type: int
Primary keyDeclaration
public Int32FieldInfo SearchCriterionId { 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.GetSearchCriterionInfo().
UdefIdentity
Field 'udefIdentity' in table 'SearchCriterion': Dictionary type Id, .NET type: int
Extra info for searching udef fields, to keep track of actual field across layout changesDeclaration
public Int32FieldInfo UdefIdentity { 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.GetSearchCriterionInfo().
UniqueKey
Field 'uniqueKey' in table 'SearchCriterion': Dictionary type Id, .NET type: int
Unique key (hash) from ArchiveRestrictionInfoDeclaration
public Int32FieldInfo UniqueKey { 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.GetSearchCriterionInfo().
Updated
Field 'updated' in table 'SearchCriterion': Dictionary type UtcDateTime, .NET type: DateTime
Last updated whenDeclaration
public DateTimeFieldInfo Updated { get; }
Property Value
| Type | Description |
|---|---|
| DateTimeFieldInfo |
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.GetSearchCriterionInfo().
UpdatedAssociateId
Field 'updated_associate_id' in table 'SearchCriterion': Dictionary type FK, target: Associate, .NET type: int
Last updated by whomDeclaration
public Int32FieldInfo UpdatedAssociateId { 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.GetSearchCriterionInfo().
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> |
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.GetSearchCriterionInfo().
UpdatedCount
Field 'updatedCount' in table 'SearchCriterion': Dictionary type UShort, .NET type: short
Number of updates made to this recordDeclaration
public UInt16FieldInfo UpdatedCount { 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.GetSearchCriterionInfo().