A Composite Condition can be used to define AND and OR conditions that combine other Conditions together.
Inheritance Hierarchy
Relativity.Services.Condition
Relativity.Services.CompositeCondition
Namespace: Relativity.Services
Assembly: Relativity.Services.DataContracts (in Relativity.Services.DataContracts.dll) Version: 640db774aa42dfbe1785add27fbb41844ec5c7d4
Syntax
The CompositeCondition type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | CompositeCondition() |
Initializes a new instance of the CompositeCondition class.
|
![]() | CompositeCondition(Condition, CompositeConditionEnum, Condition) |
Initializes a new instance of the CompositeCondition class.
|
Properties
Name | Description | |
---|---|---|
![]() | Condition1 |
The first Condition.
|
![]() | Condition2 |
The second Condition.
|
![]() | HasPrecedence |
The HasPrecedence flag
|
![]() | Operator |
The composition Operator (AND/OR)
|
Methods
Name | Description | |
---|---|---|
![]() ![]() | Combine |
Combine two Conditions together. Depending on the Condition precedence, right MAY BE MODIFIED
during the call.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Negate |
Creates a condition that is the logical negation of the existing condition.
(Inherited from Condition.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Extension Methods
Name | Description | |
---|---|---|
![]() | ToQueryString |
Translates a Query Condition object to a Query Condition string.
(Defined by ConditionExtensions.) |
See Also