Class IdQueryFilter

Filters on entities with specified id(s).

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

public class IdQueryFilter : QueryFilter

Properties

Operator

Gets or sets the operator used to compare the id(s). Must be either Equals or NotEquals.

Declaration
RequestResponse

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

Type

Gets the type of the filter.

Declaration
RequestResponse

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

Value

Gets or sets the id to filter on.

Declaration
RequestResponse

public long? Value { get; set; }
Property Value
TypeDescription
long

Values

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

Declaration
RequestResponse

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

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,