Class RelationQueryFilter
Version: 3.2
Filters on entities that have a relation to a specified entity.
Namespace: StylelabsStylelabs.MStylelabs.M.BaseQueryingFilters
Assembly: Stylelabs.M.Sdk.dll
Syntax
RequestResponse
public class RelationQueryFilter : QueryFilterProperties
ParentId
Gets or sets the parent-id to filter on.
Declaration
RequestResponse
public long? ParentId { get; set; }Property Value
| Type | Description |
|---|---|
| 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
| Type | Description |
|---|---|
| IEnumerable<>long |
Relation
Gets or sets the name of the relation.
Declaration
RequestResponse
public string Relation { 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
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. |