Share via


ODataResourceDeserializer Class

Definition

Represents an ODataDeserializer for reading OData resource payloads.

public class ODataResourceDeserializer : Microsoft.AspNet.OData.Formatter.Deserialization.ODataEdmTypeDeserializer
type ODataResourceDeserializer = class
    inherit ODataEdmTypeDeserializer
Public Class ODataResourceDeserializer
Inherits ODataEdmTypeDeserializer
Inheritance

Constructors

ODataResourceDeserializer(ODataDeserializerProvider)

Initializes a new instance of the ODataResourceDeserializer class.

Properties

DeserializerProvider

The ODataDeserializerProvider to use for deserializing inner items.

(Inherited from ODataEdmTypeDeserializer)
ODataPayloadKind

The kind of ODataPayload this deserializer handles.

(Inherited from ODataDeserializer)

Methods

ApplyInstanceAnnotations(Object, ODataResourceWrapper, IEdmStructuredTypeReference, ODataDeserializerContext)

Deserializes the instance annotations from resourceWrapper into resource.

ApplyNestedProperties(Object, ODataResourceWrapper, IEdmStructuredTypeReference, ODataDeserializerContext)

Deserializes the nested properties from resourceWrapper into resource.

ApplyNestedProperty(Object, ODataNestedResourceInfoWrapper, IEdmStructuredTypeReference, ODataDeserializerContext)

Deserializes the nested property from resourceInfoWrapper into resource.

ApplyStructuralProperties(Object, ODataResourceWrapper, IEdmStructuredTypeReference, ODataDeserializerContext)

Deserializes the structural properties from resourceWrapper into resource.

ApplyStructuralProperty(Object, ODataProperty, IEdmStructuredTypeReference, ODataDeserializerContext)

Deserializes the given structuralProperty into resource.

CreateResourceInstance(IEdmStructuredTypeReference, ODataDeserializerContext)

Creates a new instance of the backing CLR object for the given resource type.

Read(ODataMessageReader, Type, ODataDeserializerContext)

Reads an IODataRequestMessage using messageReader.

ReadAsync(ODataMessageReader, Type, ODataDeserializerContext)

Reads an IODataRequestMessage using messageReader.

ReadInline(Object, IEdmTypeReference, ODataDeserializerContext)

Deserializes the item into a new object of type corresponding to edmType.

ReadResource(ODataResourceWrapper, IEdmStructuredTypeReference, ODataDeserializerContext)

Deserializes the given resourceWrapper under the given readContext.

Applies to