Share via


ODataResourceDeserializer.ApplyStructuralProperties Method

Definition

Deserializes the structural properties from resourceWrapper into resource.

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

Parameters

resource
Object

The object into which the structural properties should be read.

resourceWrapper
ODataResourceWrapper

The resource object containing the structural properties.

structuredType
IEdmStructuredTypeReference

The type of the resource.

readContext
ODataDeserializerContext

The deserializer context.

Applies to