FilterExpression Class

Definition

Specifies complex condition and logical filter expressions used for filtering the results of the query.

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

Remarks

Constructors

FilterExpression()

Initializes a new instance of the FilterExpression class.

FilterExpression(LogicalOperator)

Initializes a new instance of the FilterExpression class.

Properties

Conditions

Gets condition expressions that include attributes, condition operators, and attribute values.

ExtensionData

Gets or sets the structure that contains extra data.

FilterHint
FilterOperator

Gets or sets the logical AND/OR filter operator.

Filters

Gets a collection of condition and logical filter expressions that filter the results of the query.

IsQuickFindFilter

Gets or sets whether the expression is part of a quick find query.

Methods

AddCondition(ConditionExpression)

Adds a condition to the filter expression setting the condition expression.

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

Adds a condition to the filter expression setting the attribute name, condition operator, and value array.

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

Adds a condition to the filter expression setting the entity name, attribute name, condition operator, and value array.

AddFilter(FilterExpression)

Adds a child filter to the filter expression.

AddFilter(LogicalOperator)

Adds a child filter to the filter expression setting the logical operator.

Applies to

See also