Use a SingleChoiceCondition in a Query to test a SingleChoice field against a one more values. The Value property can be a single Choice ArtifactID value or an array of ArtifactID values.
Inheritance Hierarchy
Relativity.Services.Condition
Relativity.Services.FieldCondition
Relativity.Services.SingleChoiceCondition
Namespace: Relativity.Services
Assembly: Relativity.Services.DataContracts (in Relativity.Services.DataContracts.dll) Version: 640db774aa42dfbe1785add27fbb41844ec5c7d4
Syntax
The SingleChoiceCondition type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | SingleChoiceCondition() |
Initializes a new instance of the SingleChoiceCondition class.
|
![]() | SingleChoiceCondition(Guid) |
Initializes a new instance of the SingleChoiceCondition class.
|
![]() | SingleChoiceCondition(Int32) |
Initializes a new instance of the SingleChoiceCondition class.
|
![]() | SingleChoiceCondition(String) |
Initializes a new instance of the SingleChoiceCondition class.
|
![]() | SingleChoiceCondition(Guid, SingleChoiceConditionEnum) |
Initializes a new instance of the SingleChoiceCondition class.
|
![]() | SingleChoiceCondition(Int32, SingleChoiceConditionEnum) |
Initializes a new instance of the SingleChoiceCondition class.
|
![]() | SingleChoiceCondition(String, SingleChoiceConditionEnum) |
Initializes a new instance of the SingleChoiceCondition class.
|
![]() | SingleChoiceCondition(Guid, SingleChoiceConditionEnum, List<Guid>) |
Initializes a new instance of the SingleChoiceCondition class.
|
![]() | SingleChoiceCondition(Guid, SingleChoiceConditionEnum, List<Int32>) |
Initializes a new instance of the SingleChoiceCondition class.
|
![]() | SingleChoiceCondition(Guid, SingleChoiceConditionEnum, List<String>) |
Initializes a new instance of the SingleChoiceCondition class.
|
![]() | SingleChoiceCondition(Guid, SingleChoiceConditionEnum,Guid[]) |
Initializes a new instance of the SingleChoiceCondition class.
|
![]() | SingleChoiceCondition(Guid, SingleChoiceConditionEnum,Int32[]) |
Initializes a new instance of the SingleChoiceCondition class.
|
![]() | SingleChoiceCondition(Guid, SingleChoiceConditionEnum,String[]) |
Initializes a new instance of the SingleChoiceCondition class.
|
![]() | SingleChoiceCondition(Int32, SingleChoiceConditionEnum, List<Guid>) |
Initializes a new instance of the SingleChoiceCondition class.
|
![]() | SingleChoiceCondition(Int32, SingleChoiceConditionEnum, List<Int32>) |
Initializes a new instance of the SingleChoiceCondition class.
|
![]() | SingleChoiceCondition(Int32, SingleChoiceConditionEnum, List<String>) |
Initializes a new instance of the SingleChoiceCondition class.
|
![]() | SingleChoiceCondition(Int32, SingleChoiceConditionEnum,Guid[]) |
Initializes a new instance of the SingleChoiceCondition class.
|
![]() | SingleChoiceCondition(Int32, SingleChoiceConditionEnum,Int32[]) |
Initializes a new instance of the SingleChoiceCondition class.
|
![]() | SingleChoiceCondition(Int32, SingleChoiceConditionEnum,String[]) |
Initializes a new instance of the SingleChoiceCondition class.
|
![]() | SingleChoiceCondition(String, SingleChoiceConditionEnum, List<Guid>) |
Initializes a new instance of the SingleChoiceCondition class.
|
![]() | SingleChoiceCondition(String, SingleChoiceConditionEnum, List<Int32>) |
Initializes a new instance of the SingleChoiceCondition class.
|
![]() | SingleChoiceCondition(String, SingleChoiceConditionEnum, List<String>) |
Initializes a new instance of the SingleChoiceCondition class.
|
![]() | SingleChoiceCondition(String, SingleChoiceConditionEnum,Guid[]) |
Initializes a new instance of the SingleChoiceCondition class.
|
![]() | SingleChoiceCondition(String, SingleChoiceConditionEnum,Int32[]) |
Initializes a new instance of the SingleChoiceCondition class.
|
![]() | SingleChoiceCondition(String, SingleChoiceConditionEnum,String[]) |
Initializes a new instance of the SingleChoiceCondition class.
|
Properties
Name | Description | |
---|---|---|
![]() | ArtifactID |
The Field ArtifactID to be tested by the Condition.
(Inherited from FieldCondition.) |
![]() | Field |
The Field name to be tested by the Condition.
(Inherited from FieldCondition.) |
![]() | Guid |
The Field Guid to be tested by the Condition.
(Inherited from FieldCondition.) |
![]() | Operator |
Gets or sets the comparison operator to be used.
|
![]() | Value |
The value to test the field against.
|
Methods
Name | Description | |
---|---|---|
![]() | 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