ODataSerializerContext Class

 

Context information used by the ODataSerializer when serializing objects in OData message format.

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

System::Object
  System.Web.Http.OData.Formatter.Serialization::ODataSerializerContext

public ref class ODataSerializerContext 

NameDescription
System_CAPS_pubmethodODataSerializerContext()

Initializes a new instance of the ODataSerializerContext class.

System_CAPS_pubmethodODataSerializerContext(EntityInstanceContext^, SelectExpandClause^, IEdmNavigationProperty^)

Initializes a new instance of the ODataSerializerContext class.

NameDescription
System_CAPS_pubpropertyEntitySet

Gets or sets the entity set.

System_CAPS_pubpropertyExpandedEntity

Gets or sets the entity that is being expanded.

System_CAPS_pubpropertyItems

Gets a property bag associated with this context to store any generic data.

System_CAPS_pubpropertyMetadataLevel

Gets or sets the metadata level of the response.

System_CAPS_pubpropertyModel

Gets or sets the EDM model associated with the request.

System_CAPS_pubpropertyNavigationProperty

Gets or sets the navigation property being expanded.

System_CAPS_pubpropertyPath

Gets or sets the ODataPath of the request.

System_CAPS_pubpropertyRequest

Gets or sets the HTTP Request whose response is being serialized.

System_CAPS_pubpropertyRequestContext

Gets or sets the request context.

System_CAPS_pubpropertyRootElementName

Gets or sets the root element name which is used when writing primitive types and complex types.

System_CAPS_pubpropertySelectExpandClause

Gets or sets the SelectExpandClause.

System_CAPS_pubpropertySkipExpensiveAvailabilityChecks

Get or sets whether expensive links should be calculated.

System_CAPS_pubpropertyUrl

Gets or sets the UrlHelper to use for generating OData links.

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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

Return to top
Show: