Class RelationQueryFilter

Filters on entities that have a relation to a specified entity.

Inheritance
object
RelationQueryFilter
Namespace: StylelabsStylelabs.MStylelabs.M.BaseQueryingFilters
Assembly: Stylelabs.M.Sdk.dll
Syntax
RequestResponse
public class RelationQueryFilter : QueryFilter

Properties

ParentId

Gets or sets the parent-id to filter on.

Declaration
RequestResponse
public long? ParentId { get; set; }
Property Value
TypeDescription
long

ParentIds

Gets or sets the parent-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> ParentIds { get; set; }
Property Value
TypeDescription
IEnumerable<>long

Relation

Gets or sets the name of the relation.

Declaration
RequestResponse
public string Relation { 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

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,