ODataEntityReferenceLinkSerializer Class
Represents an ODataSerializer for serializing $links response.
Inheritance Hierarchy
System.Object
System.Web.Http.OData.Formatter.Serialization.ODataSerializer
System.Web.Http.OData.Formatter.Serialization.ODataEntityReferenceLinkSerializer
Namespace: System.Web.Http.OData.Formatter.Serialization
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
'Declaration
Public Class ODataEntityReferenceLinkSerializer _
Inherits ODataSerializer
'Usage
Dim instance As ODataEntityReferenceLinkSerializer
public class ODataEntityReferenceLinkSerializer : ODataSerializer
public ref class ODataEntityReferenceLinkSerializer : public ODataSerializer
type ODataEntityReferenceLinkSerializer =
class
inherit ODataSerializer
end
public class ODataEntityReferenceLinkSerializer extends ODataSerializer
The ODataEntityReferenceLinkSerializer type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ODataEntityReferenceLinkSerializer | Initializes a new instance of ODataEntityReferenceLinkSerializer class. |
Top
Properties
Name | Description | |
---|---|---|
ODataPayloadKind | Gets the ODataPayloadKind that this serializer generates. (Inherited from ODataSerializer.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) | |
WriteObject | Writes the given object specified by the parameter graph as a whole using the given messageWriter and writeContext. (Overrides ODataSerializer.WriteObject(Object, Type, ODataMessageWriter, ODataSerializerContext).) |
Top
Remarks
For example, the response to the url http://localhost/Products(10)/$links/Category gets serialized using this.
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.