Udostępnij za pośrednictwem


NavigationPropertyLinkSegment Klasa

Definicja

Segment reprezentujący $ref (wersja zgodności z poprzednimi wersjami dla wersji ODL 7.4.x)

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

Konstruktory

NavigationPropertyLinkSegment(IEdmNavigationProperty, IEdmNavigationSource)

Tworzenie segmentu reprezentującego $ref na rekwizycie nawigacyjnym

Właściwości

EdmType

Pobiera element IEdmType z tego NavigationPropertyLinkSegmentobiektu .

Identifier

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

(Odziedziczone po ODataPathSegment)
NavigationProperty

Pobiera właściwość nawigacji, na która działa ten link lub ref.

NavigationSource

Pobiera źródło nawigacji jednostek połączonych z tym NavigationPropertyLinkSegmentelementem .

Metody

HandleWith(PathSegmentHandler)

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

TranslateWith<T>(PathSegmentTranslator<T>)

Tłumaczenie elementu PathSegmentTranslator<T>

Dotyczy