Share via


ODataDeserializer Class

 

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

Namespace:   System.Web.OData.Formatter.Deserialization
Assembly:  System.Web.OData (in System.Web.OData.dll)

Inheritance Hierarchy

System.Object
  System.Web.OData.Formatter.Deserialization.ODataDeserializer
    System.Web.OData.Formatter.Deserialization.ODataActionPayloadDeserializer
    System.Web.OData.Formatter.Deserialization.ODataEdmTypeDeserializer
    System.Web.OData.Formatter.Deserialization.ODataEntityReferenceLinkDeserializer

Syntax

public abstract class ODataDeserializer
public ref class ODataDeserializer abstract 
[<AbstractClass>]
type ODataDeserializer = class end
Public MustInherit Class ODataDeserializer

Constructors

Name Description
System_CAPS_protmethod ODataDeserializer(ODataPayloadKind)

Initializes a new instance of the ODataDeserializer class.

Properties

Name Description
System_CAPS_pubproperty ODataPayloadKind

The kind of ODataPayload this deserializer handles.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod Read(ODataMessageReader, Type, ODataDeserializerContext)

Reads an IODataRequestMessage using messageReader.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Web.OData.Formatter.Deserialization Namespace

Return to top