Skip to end of metadata
Go to start of metadata

Represents a class for filter description.

Definition

public class FilterDescription : ComponentBase

Summary

The following table summarizes the members exposed in this class.

Public Constructors

FilterDescription Constructor() Create an instance of FilterDescription.

Public Properties

Condition Gets or sets the condition expression.
DataMember Gets or sets the data member.
DataType Gets or sets the data type.
Operator Gets or sets the filter operator.
Value1 Gets or sets the value.
Value2 Gets or sets the value.
ValueType Gets or sets the filter value type.

Fields

ConditionProperty Identifies the Condition property description.
DataMemberProperty Identifies the DataMember property description.
DataTypeProperty Identifies the DataType property description.
OperatorProperty Identifies the Operator property description.
Value1Property Identifies the Value1 property description.
Value2Property Identifies the Value2 property description.
ValueTypeProperty Identifies the ValueType property description.

Public Methods

Equals(FilterDescription) Returns a value indicating whether this instance and a specified filter description object represent the same value.
GetFilterExpression(string) Retrieve filter expression.

Public Constructors

public FilterDescription()

Create an instance of FilterDescription.

Public Properties

public Expression Condition { get; set; }

Gets or sets the condition expression.

public string DataMember { get; set; }

Gets or sets the data member.

public FilterDataType DataType { get; set; }

Gets or sets the data type.

public FilterOperator Operator { get; set; }

Gets or sets the filter operator.

public string Value1 { get; set; }

Gets or sets the value.

public string Value2 { get; set; }

Gets or sets the value.

public FilterValueType ValueType { get; set; }

Gets or sets the filter value type.

Fields

public static PropertyDescription ConditionProperty

Identifies the Condition property description.

public static PropertyDescription DataMemberProperty

Identifies the DataMember property description.

public static PropertyDescription DataTypeProperty

Identifies the DataType property description.

public static PropertyDescription OperatorProperty

Identifies the Operator property description.

public static PropertyDescription Value1Property

Identifies the Value1 property description.

public static PropertyDescription Value2Property

Identifies the Value2 property description.

public static PropertyDescription ValueTypeProperty

Identifies the ValueType property description.

Public Methods

public bool Equals(FilterDescription comparer)

Returns a value indicating whether this instance and a specified filter description object represent the same value.

Parameters

comparer A filter description object to compare to this instance.

Return Types

true if obj is equal to this instance; otherwise, false.

public string GetFilterExpression(string dataMember)

Retrieve filter expression.

Parameters

dataMember data member name.
  • No labels