Share via


ODataDeserializer Class

Definition

An ODataDeserializer is used to read an ODataMessage into a CLR object.

public abstract class ODataDeserializer
type ODataDeserializer = class
Public MustInherit Class ODataDeserializer
Inheritance
ODataDeserializer
Derived

Remarks

Each supported CLR type has a corresponding ODataDeserializer. A CLR type is supported if it is one of the special types or if it has a backing EDM type. Some of the special types are Uri which maps to ODataReferenceLink payload, Uri[] which maps to ODataReferenceLinks payload, ODataWorkspace which maps to ODataServiceDocument payload.

Constructors

ODataDeserializer(ODataPayloadKind)

Initializes a new instance of the ODataDeserializer class.

Properties

ODataPayloadKind

The kind of ODataPayload this deserializer handles.

Methods

Read(ODataMessageReader, Type, ODataDeserializerContext)

Reads an IODataRequestMessage using messageReader.

ReadAsync(ODataMessageReader, Type, ODataDeserializerContext)

Reads an IODataRequestMessage using messageReader.

Applies to