1. Stylelabs.M.Base.Querying.Filters

Class RelationQueryFilter

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

Inheritance

object

QueryFilter

RelationQueryFilter

Namespace: StylelabsStylelabs.MStylelabs.M.BaseQueryingFilters

Assembly: Stylelabs.M.Sdk.dll

Syntax

public class RelationQueryFilter : QueryFilter

Properties

ParentId

Gets or sets the parent-id to filter on.

Declaration

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

public IEnumerable<long> ParentIds { get; set; }

Property Value

TypeDescription
IEnumerable<>long

Relation

Gets or sets the name of the relation.

Declaration

public string Relation { get; set; }

Property Value

TypeDescription
string

Type

Gets the type of the filter.

Declaration

public override FilterType Type { get; }

Property Value

TypeDescription
FilterType

Overrides

QueryFilter.Type

Methods

Accept(IFilterVisitor)

Accepts a query visitor.

Declaration

public override void Accept(IFilterVisitor visitor)

Parameters

TypeNameDescription
IFilterVisitorvisitorThe visitor to accept.

Overrides

QueryFilter.Accept(IFilterVisitor)

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