Class ODataDeserializerContext
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
Request
Gets or sets the HTTP Request that is being deserialized.
public HttpRequestMessage Request { get; set; }
Property Value
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; }