Zum Hauptinhalt springen

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 Object → NavigationEntitySelector
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 Kind 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 Kind is NavigationEntitySelectorKind.Attribute; otherwise null.

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