1. PropertyQueryFilter

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
public class PropertyQueryFilter : QueryFilter

Properties

Culture

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

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

DataType

Gets or sets the data-type of the property.

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

Operator

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

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

Property

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

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

Type

Gets the type of the filter.

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

Value

Gets or sets the value to compare with.

Declaration
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
public IEnumerable<object> Values { get; set; }
Property Value
TypeDescription
IEnumerable<>object

Methods

Accept(IFilterVisitor)

Accepts a query visitor.

Declaration
public override void Accept(IFilterVisitor visitor)
Parameters
TypeNameDescription
IFilterVisitorvisitor

The visitor to accept.

Overrides
If you have suggestions for improving this article, let us know!