Udostępnij za pośrednictwem


NavigationPropertySegment Klasa

Definicja

Segment reprezentujący właściwość nawigacji

public sealed class NavigationPropertySegment : Microsoft.OData.UriParser.ODataPathSegment
type NavigationPropertySegment = class
    inherit ODataPathSegment
Public NotInheritable Class NavigationPropertySegment
Inherits ODataPathSegment
Dziedziczenie
NavigationPropertySegment

Konstruktory

NavigationPropertySegment(IEdmNavigationProperty, IEdmNavigationSource)

Utwórz segment reprezentujący właściwość nawigacji.

Właściwości

EdmType

Pobiera element IEdmType z tego NavigationPropertySegmentobiektu .

Identifier

Zwraca identyfikator dla tego segmentu, tj. część ciągu bez kluczy.

(Odziedziczone po ODataPathSegment)
NavigationProperty

Pobiera właściwość nawigacji reprezentowaną przez właściwość NavigationPropertySegment.

NavigationSource

Pobiera źródło nawigacji jednostek docelowych przez tę właściwość nawigacji. Może to być wartość null.

Metody

HandleWith(PathSegmentHandler)

Przetłumacz element , PathSegmentHandler aby chodzić po drzewie ODataPathSegments.

TranslateWith<T>(PathSegmentTranslator<T>)

Przetłumacz element PathSegmentTranslator<T>.

Dotyczy