Table of Contents

Class ODataDeserializerContext

Namespace
System.Web.Http.OData.Formatter.Deserialization
Assembly
System.Web.Http.OData.dll

This class encapsulates the state and settings that get passed to ODataDeserializer from the ODataMediaTypeFormatter.

public class ODataDeserializerContext
Inheritance
ODataDeserializerContext
Inherited Members

Constructors

ODataDeserializerContext()

public ODataDeserializerContext()

Properties

Model

Gets or sets the EDM model associated with the request.

public IEdmModel Model { get; set; }

Property Value

IEdmModel

Path

Gets or sets the ODataPath of the request.

public ODataPath Path { get; set; }

Property Value

ODataPath

Request

Gets or sets the HTTP Request that is being deserialized.

public HttpRequestMessage Request { get; set; }

Property Value

HttpRequestMessage

RequestContext

Gets or sets the request context.

public HttpRequestContext RequestContext { get; set; }

Property Value

HttpRequestContext

ResourceEdmType

Gets or sets the Microsoft.Data.Edm.IEdmTypeReference of the top-level object the request needs to be deserialized into.

public IEdmTypeReference ResourceEdmType { get; set; }

Property Value

IEdmTypeReference

ResourceType

Gets or sets the type of the top-level object the request needs to be deserialized into.

public Type ResourceType { get; set; }

Property Value

Type