CompositeCondition Class

Relativity Services API
A Composite Condition can be used to define AND and OR conditions that combine other Conditions together.
Inheritance Hierarchy

System.Object
  Relativity.Services.Condition
    Relativity.Services.CompositeCondition

Namespace:  Relativity.Services
Assembly:  Relativity.Services.DataContracts (in Relativity.Services.DataContracts.dll) Version: 640db774aa42dfbe1785add27fbb41844ec5c7d4
Syntax

public class CompositeCondition : Condition

The CompositeCondition type exposes the following members.

Constructors

  NameDescription
Public methodCompositeCondition()
Initializes a new instance of the CompositeCondition class.
Public methodCompositeCondition(Condition, CompositeConditionEnum, Condition)
Initializes a new instance of the CompositeCondition class.
Top
Properties

  NameDescription
Public propertyCondition1
The first Condition.
Public propertyCondition2
The second Condition.
Public propertyHasPrecedence
The HasPrecedence flag
Public propertyOperator
The composition Operator (AND/OR)
Top
Methods

  NameDescription
Public methodStatic memberCombine
Combine two Conditions together. Depending on the Condition precedence, right MAY BE MODIFIED during the call.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodNegate
Creates a condition that is the logical negation of the existing condition.
(Inherited from Condition.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods

  NameDescription
Public Extension MethodToQueryString
Translates a Query Condition object to a Query Condition string.
(Defined by ConditionExtensions.)
Top
See Also

Reference