Class PropertyQueryFilter

Filters on entities with a property set to value(s).

Inheritance
object
PropertyQueryFilter
Namespace: StylelabsStylelabs.MStylelabs.M.BaseQueryingFilters
Assembly: Stylelabs.M.Sdk.dll
Syntax
RequestResponse

public class PropertyQueryFilter : QueryFilter

Properties

Culture

Gets or sets the culture to filter in, in case of multi-language properties.

Declaration
RequestResponse

public CultureInfo Culture { get; set; }
Property Value
TypeDescription
CultureInfo

DataType

Gets or sets the data-type of the property.

Declaration
RequestResponse

public virtual FilterDataType DataType { get; set; }
Property Value
TypeDescription
FilterDataType

Operator

Gets or sets the operator used to compare the property-value(s).

Declaration
RequestResponse

public ComparisonOperator Operator { get; set; }
Property Value
TypeDescription
ComparisonOperator

Property

Gets or sets the name of the property to filter on.

Declaration
RequestResponse

public string Property { get; set; }
Property Value
TypeDescription
string

Type

Gets the type of the filter.

Declaration
RequestResponse

public override FilterType Type { get; }
Property Value
TypeDescription
FilterType
Overrides

Value

Gets or sets the value to compare with.

Declaration
RequestResponse

public object Value { get; set; }
Property Value
TypeDescription
object

Values

Gets or sets the values to compare with. If multiple values are specified, the filter will combine them using "OR" (essentially an IN-clause).

Declaration
RequestResponse

public IEnumerable<object> Values { get; set; }
Property Value
TypeDescription
IEnumerable<>object

Methods

Accept(IFilterVisitor)

Accepts a query visitor.

Declaration
RequestResponse

public override void Accept(IFilterVisitor visitor)
Parameters
TypeNameDescription
IFilterVisitorvisitor

The visitor to accept.

Overrides

Do you have some feedback for us?

If you have suggestions for improving this article,