Share via


ODataResourceDeserializer.ApplyNestedProperty Method

Definition

Deserializes the nested property from resourceInfoWrapper into resource.

public virtual void ApplyNestedProperty (object resource, Microsoft.AspNet.OData.Formatter.Deserialization.ODataNestedResourceInfoWrapper resourceInfoWrapper, Microsoft.OData.Edm.IEdmStructuredTypeReference structuredType, Microsoft.AspNet.OData.Formatter.Deserialization.ODataDeserializerContext readContext);
abstract member ApplyNestedProperty : obj * Microsoft.AspNet.OData.Formatter.Deserialization.ODataNestedResourceInfoWrapper * Microsoft.OData.Edm.IEdmStructuredTypeReference * Microsoft.AspNet.OData.Formatter.Deserialization.ODataDeserializerContext -> unit
override this.ApplyNestedProperty : obj * Microsoft.AspNet.OData.Formatter.Deserialization.ODataNestedResourceInfoWrapper * Microsoft.OData.Edm.IEdmStructuredTypeReference * Microsoft.AspNet.OData.Formatter.Deserialization.ODataDeserializerContext -> unit
Public Overridable Sub ApplyNestedProperty (resource As Object, resourceInfoWrapper As ODataNestedResourceInfoWrapper, structuredType As IEdmStructuredTypeReference, readContext As ODataDeserializerContext)

Parameters

resource
Object

The object into which the nested property should be read.

resourceInfoWrapper
ODataNestedResourceInfoWrapper

The nested resource info.

structuredType
IEdmStructuredTypeReference

The type of the resource.

readContext
ODataDeserializerContext

The deserializer context.

Applies to