Skip to main content

NavigationEntitySelector

Namespace: Meshmakers.Octo.Runtime.Contracts.Repositories

An entity selector attached to a navigation pair, pinning the exact target entity of a navigation across an N-multiplicity association — path syntax nav.type[rtId=...]->attr, nav.type[wellKnownName=...]->attr or nav.type[attributeName=value]->attr.

public record NavigationEntitySelector : IEquatable<NavigationEntitySelector>

Inheritance ObjectNavigationEntitySelector
Implements IEquatable<NavigationEntitySelector>

Properties

Kind

Which target property the selector matches.

public NavigationEntitySelectorKind Kind { get; set; }

Property Value

NavigationEntitySelectorKind

AttributeName

The attribute name (PascalCase) when is NavigationEntitySelectorKind.Attribute; otherwise null.

public string AttributeName { get; set; }

Property Value

String

Value

The comparison value as written in the path (quotes stripped).

public string Value { get; set; }

Property Value

String

Constructors

An entity selector attached to a navigation pair, pinning the exact target entity of a navigation across an N-multiplicity association — path syntax nav.type[rtId=...]->attr, nav.type[wellKnownName=...]->attr or nav.type[attributeName=value]->attr.

public NavigationEntitySelector(NavigationEntitySelectorKind Kind, string AttributeName, string Value)

Parameters

Kind NavigationEntitySelectorKind
Which target property the selector matches.

AttributeName String
The attribute name (PascalCase) when is NavigationEntitySelectorKind.Attribute; otherwise null.

Value String
The comparison value as written in the path (quotes stripped).