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.ObjectThe object into which the navigation property should be read.
navigationLinkWrapper
Type: System.Web.OData.Formatter.Deserialization.ODataNavigationLinkWithItemsThe navigation link.
entityType
Type: Microsoft.OData.Edm.IEdmEntityTypeReferenceThe entity type of the entity resource.
readContext
Type: System.Web.OData.Formatter.Deserialization.ODataDeserializerContextThe deserializer context.
See Also
ODataEntityDeserializer Class
System.Web.OData.Formatter.Deserialization Namespace
Return to top