ConditionExpression Class
Applies To: Dynamics CRM 2015
Contains a condition expression used to filter the results of the query.
Namespace: Microsoft.Xrm.Sdk.Query
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Inheritance Hierarchy
System.Object
Microsoft.Xrm.Sdk.Query.ConditionExpression
Syntax
[DataContractAttribute(Name = "ConditionExpression", Namespace = "https://schemas.microsoft.com/xrm/2011/Contracts")]
public sealed class ConditionExpression : IExtensibleDataObject
[DataContractAttribute(Name = "ConditionExpression", Namespace = "https://schemas.microsoft.com/xrm/2011/Contracts")]
public ref class ConditionExpression sealed : IExtensibleDataObject
[<Sealed>]
[<DataContractAttribute(Name = "ConditionExpression", Namespace = "https://schemas.microsoft.com/xrm/2011/Contracts")>]
type ConditionExpression =
class
interface IExtensibleDataObject
end
<DataContractAttribute(Name := "ConditionExpression", Namespace := "https://schemas.microsoft.com/xrm/2011/Contracts")>
Public NotInheritable Class ConditionExpression
Implements IExtensibleDataObject
Constructors
Name | Description | |
---|---|---|
ConditionExpression() | Initializes a new instance of the ConditionExpression class. |
|
ConditionExpression(String, ConditionOperator) | Initializes a new instance of the ConditionExpression class setting the attribute name and condition operator. |
|
ConditionExpression(String, ConditionOperator, ICollection) | Initializes a new instance of the ConditionExpression class setting the attribute name, condition operator and a collection of values. |
|
ConditionExpression(String, ConditionOperator, Object) | Initializes a new instance of the ConditionExpression class setting the attribute name, condition operator and value object. |
|
ConditionExpression(String, ConditionOperator, Object[]) | Initializes a new instance of the ConditionExpression class setting the attribute name, condition operator and an array of value objects. |
|
ConditionExpression(String, String, ConditionOperator) | Initializes a new instance of the ConditionExpression class. |
|
ConditionExpression(String, String, ConditionOperator, Object) | Initializes a new instance of the ConditionExpression class. |
|
ConditionExpression(String, String, ConditionOperator, Object[]) | Initializes a new instance of the ConditionExpression class. |
Properties
Name | Description | |
---|---|---|
AttributeName | Gets or sets the logical name of the attribute in the condition expression. |
|
EntityName | Gets or sets the entity name for the condition. |
|
ExtensionData | Gets or sets the structure that contains extra data. |
|
Operator | Gets or sets the condition operator. |
|
Values | Gets or sets the values for the attribute. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
Remarks
For more information, see Use the ConditionExpression class.
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Conditions
Microsoft.Xrm.Sdk.Query Namespace
Build queries with QueryExpression
Return to top
© 2016 Microsoft. All rights reserved. Copyright