Compartir a través de


ConditionExpression Class

Definition

Contains a condition expression used to filter the results of the query.

public ref class ConditionExpression sealed : System::Runtime::Serialization::IExtensibleDataObject
[System.Runtime.Serialization.DataContract(Name="ConditionExpression", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts")]
public sealed class ConditionExpression : System.Runtime.Serialization.IExtensibleDataObject
[<System.Runtime.Serialization.DataContract(Name="ConditionExpression", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts")>]
type ConditionExpression = class
    interface IExtensibleDataObject
Public NotInheritable Class ConditionExpression
Implements IExtensibleDataObject
Inheritance
ConditionExpression
Attributes
Implements

Constructors

ConditionExpression()

Initializes a new instance of the ConditionExpression class.

ConditionExpression(String, ConditionOperator, Boolean, Object)

Initializes a new instance of the ConditionExpression class setting the AttributeName, Operator and CompareColumns properties, and a single value in the Values property. The value parameter must be the logical name of another column when the compareColumns parameter is set to true.

ConditionExpression(String, ConditionOperator, Boolean, Object[])

Initializes a new instance of the ConditionExpression class setting the AttributeName, Operator, CompareColumns and Values properties. The values parameter must contain logical names of other columns when the compareColumns parameter is set to true.

ConditionExpression(String, ConditionOperator, ICollection)

Initializes a new instance of the ConditionExpression class setting the AttributeName, Operator and Values properties.

ConditionExpression(String, ConditionOperator, Object)

Initializes a new instance of the ConditionExpression class setting the AttributeName and Operator properties, and a single value in the Values property.

ConditionExpression(String, ConditionOperator, Object[])

Initializes a new instance of the ConditionExpression class setting the AttributeName, Operator and Values properties.

ConditionExpression(String, ConditionOperator)

Initializes a new instance of the ConditionExpression class setting the AttributeName and Operator properties.

ConditionExpression(String, String, ConditionOperator, Boolean, Object)

Initializes a new instance of the ConditionExpression class setting the AttributeName, Operator and CompareColumns properties, and a single value in the Values property. The value parameter must be the logical name of another column when the compareColumns parameter is set to true.

ConditionExpression(String, String, ConditionOperator, Boolean, Object[])

Initializes a new instance of the ConditionExpression class setting the AttributeName, Operator, CompareColumns, and Values properties. The values parameter must contain names of other columns when the compareColumns parameter is set to true.

ConditionExpression(String, String, ConditionOperator, Object)

Initializes a new instance of the ConditionExpression class setting the EntityName, AttributeName, Operator properties, and a single value in the Values property.

ConditionExpression(String, String, ConditionOperator, Object[])

Initializes a new instance of the ConditionExpression class setting the EntityName, AttributeName, Operator and Values properties.

ConditionExpression(String, String, ConditionOperator)

Initializes a new instance of the ConditionExpression class setting the EntityName, AttributeName, and Operator properties.

Properties

AttributeName

Gets or sets the logical name of the column in the condition expression.

CompareColumns

Gets or sets whether the query should compare column values.

EntityName

Gets or sets the logical name of a table, or a LinkEntity.EntityAlias value for a table, that contains the column to evaluate 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 column to compare, or the logical names of columns to compare when the CompareColumns property is set to true.

Applies to

See also