Class PropertyQueryFilter
Filters on entities with a property set to value(s).
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
Type | Description |
---|---|
CultureInfo |
DataType
Gets or sets the data-type of the property.
Declaration
RequestResponse
public virtual FilterDataType DataType { get; set; }
Property Value
Type | Description |
---|---|
FilterDataType |
Operator
Gets or sets the operator used to compare the property-value(s).
Declaration
RequestResponse
public ComparisonOperator Operator { get; set; }
Property Value
Type | Description |
---|---|
ComparisonOperator |
Property
Gets or sets the name of the property to filter on.
Declaration
RequestResponse
public string Property { get; set; }
Property Value
Type | Description |
---|---|
string |
Type
Gets the type of the filter.
Declaration
RequestResponse
public override FilterType Type { get; }
Property Value
Type | Description |
---|---|
FilterType |
Overrides
Value
Gets or sets the value to compare with.
Declaration
RequestResponse
public object Value { get; set; }
Property Value
Type | Description |
---|---|
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
Type | Description |
---|---|
IEnumerable<>object |
Methods
Accept(IFilterVisitor)
Accepts a query visitor.
Declaration
RequestResponse
public override void Accept(IFilterVisitor visitor)
Parameters
Type | Name | Description |
---|---|---|
IFilterVisitor | visitor |
The visitor to accept. |