Show / Hide Table of Contents

Class ArrayCompare

This class contains the advanced parameters, such as BETWEEN and IN. What is different with these two is that they both contain an array of parameters on their "side" of the node tree.

Inheritance
Object
QueryElement
Restriction
Compare
ArrayCompare
Between
In
InAll
IntArrayOperatorBase
NotBetween
NotIn
NotInAll
Implements
ICloneable
Inherited Members
Compare.IsTableInvolved(TableInfo)
Compare.AreAllTablesInvolved(TableInfo, SoTable[])
Compare.GetInvolvedTables(Dictionary<TableInfo, Object>)
Compare.GetTypedSubElement<T>()
Compare.Left
Compare.IsRelationDescription
Restriction.And(Restriction)
Restriction.Or(Restriction)
Restriction.RestrictionAnd(Restriction, Restriction)
Restriction.RestrictionOr(Restriction, Restriction)
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: SuperOffice.Data.SQL
Assembly: SoDataBase.dll
Syntax
public class ArrayCompare : Compare, ICloneable

Constructors

ArrayCompare(Argument, Argument[])

Initializes a new instance of the ArrayCompare class.

Declaration
public ArrayCompare(Argument left, params Argument[] right)
Parameters
Type Name Description
Argument left

Leftside argument

Argument[] right

Rightside argument

Fields

_right

Declaration
protected Argument[] _right
Field Value
Type Description
Argument[]

Properties

Right

Get/Set value for right side of the Compare

Declaration
public Argument[] Right { get; }
Property Value
Type Description
Argument[]

Methods

Clone()

Clone the query. Parameter values are shared between the original and the clone.

Declaration
public override object Clone()
Returns
Type Description
Object

Copy of the node and its sub-elements

Overrides
QueryElement.Clone()
Remarks

This method is used by the to modify a query with sentry extensions without affecting the original query.

GetSubElements()

Part of visitor pattern defined in abstract class QueryElement

Declaration
protected override QueryElement[] GetSubElements()
Returns
Type Description
QueryElement[]
Overrides
Compare.GetSubElements()

ToString()

Returns a String that represents the current Object.

Declaration
public override string ToString()
Returns
Type Description
String

A ARRAYCOMP b String that represents the current Object.

Overrides
Object.ToString()

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