Show / Hide Table of Contents

Class SearchCriterionTableInfo

Table 'SearchCriterion': Criteria storage for Selection and other Find mechanisms

Inheritance
Object
TableInfo
SearchCriterionTableInfo
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("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 .

Fields

DictionaryTableName

Conceptual name of table SearchCriterion in the database dictionary: SearchCriterion

Declaration
public const string DictionaryTableName = "SearchCriterion"
Field Value
Type Description
String

Properties

Active

Field 'active' in table 'SearchCriterion': Dictionary type UShort, .NET type: Int16

Should this criterion be executed

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

ColumnName

Field 'columnName' in table 'SearchCriterion': Dictionary type String[255], .NET type: String

Column name from archive provider in NetServer/SIX.web

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

CriterionId

Field 'criterionId' in table 'SearchCriterion': Dictionary type FieldId, .NET type: Int32

Usually DbFieldId of field to be searched

Declaration
public Int32FieldInfo CriterionId { 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
TableInfo.Definition

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
Int32

ExtraId

Field 'extraId' in table 'SearchCriterion': Dictionary type Id, .NET type: Int32

Extra info, forms part of the internal unique identification of the criterion

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

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>

LinkType

Field 'linkType' in table 'SearchCriterion': Dictionary type Enum, .NET type: Int16

Link type, AND or OR

Declaration
public FieldInfo LinkType { get; }
Property Value
Type Description
FieldInfo

OperatorId

Field 'operatorId' in table 'SearchCriterion': Dictionary type Enum, .NET type: Int16

Operator ID

Declaration
public FieldInfo OperatorId { get; }
Property Value
Type Description
FieldInfo

OperatorName

Field 'operatorName' in table 'SearchCriterion': Dictionary type String[255], .NET type: String

Operator name from archive provider

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

Parenthesis

Field 'parenthesis' in table 'SearchCriterion': Dictionary type Short, .NET type: Int16

Parenthesis value, positive is number of opening parentheses to prepend to this criterion, negative is the number of closing parentheses to append

Declaration
public Int16FieldInfo Parenthesis { get; }
Property Value
Type Description
Int16FieldInfo

Rank

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

Ordering within this group

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

Registered

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

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

SearchCriteriaGroupId

Field 'SearchCriteriaGroup_id' in table 'SearchCriterion': Dictionary type FK, .NET type: Int32

Owning group

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

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>

SearchCriterionId

Field 'SearchCriterion_id' in table 'SearchCriterion': Dictionary type PK, .NET type: Int32

Primary key

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

UdefIdentity

Field 'udefIdentity' in table 'SearchCriterion': Dictionary type Id, .NET type: Int32

Extra info for searching udef fields, to keep track of actual field across layout changes

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

UniqueKey

Field 'uniqueKey' in table 'SearchCriterion': Dictionary type Id, .NET type: Int32

Unique key (hash) from ArchiveRestrictionInfo

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

Updated

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

Number of updates made to this record

Declaration
public UInt16FieldInfo UpdatedCount { 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