Share via


ODataEntityDeserializer.ApplyNavigationProperty Method (Object, ODataNavigationLinkWithItems, IEdmEntityTypeReference, ODataDeserializerContext)

 

Deserializes the navigation property from navigationLinkWrapper into entityResource.

Namespace:   System.Web.OData.Formatter.Deserialization
Assembly:  System.Web.OData (in System.Web.OData.dll)

Syntax

public virtual void ApplyNavigationProperty(
    object entityResource,
    ODataNavigationLinkWithItems navigationLinkWrapper,
    IEdmEntityTypeReference entityType,
    ODataDeserializerContext readContext
)
public:
virtual void ApplyNavigationProperty(
    Object^ entityResource,
    ODataNavigationLinkWithItems^ navigationLinkWrapper,
    IEdmEntityTypeReference^ entityType,
    ODataDeserializerContext^ readContext
)
abstract ApplyNavigationProperty : 
        entityResource:Object *
        navigationLinkWrapper:ODataNavigationLinkWithItems *
        entityType:IEdmEntityTypeReference *
        readContext:ODataDeserializerContext -> unit
override ApplyNavigationProperty : 
        entityResource:Object *
        navigationLinkWrapper:ODataNavigationLinkWithItems *
        entityType:IEdmEntityTypeReference *
        readContext:ODataDeserializerContext -> unit
Public Overridable Sub ApplyNavigationProperty (
    entityResource As Object,
    navigationLinkWrapper As ODataNavigationLinkWithItems,
    entityType As IEdmEntityTypeReference,
    readContext As ODataDeserializerContext
)

Parameters

  • entityResource
    Type: System.Object

    The object into which the navigation property should be read.

See Also

ODataEntityDeserializer Class
System.Web.OData.Formatter.Deserialization Namespace

Return to top