ODataEntityReferenceLinkSerializer Class
Represents an ODataSerializer for serializing $links response.
Namespace: System.Web.Http.OData.Formatter.Serialization
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Inheritance Hierarchy
System.Object
System.Web.Http.OData.Formatter.Serialization.ODataSerializer
System.Web.Http.OData.Formatter.Serialization.ODataEntityReferenceLinkSerializer
Syntax
public class ODataEntityReferenceLinkSerializer : ODataSerializer
public ref class ODataEntityReferenceLinkSerializer : ODataSerializer
type ODataEntityReferenceLinkSerializer =
class
inherit ODataSerializer
end
Public Class ODataEntityReferenceLinkSerializer
Inherits ODataSerializer
Constructors
Name | Description | |
---|---|---|
ODataEntityReferenceLinkSerializer() | Initializes a new instance of ODataEntityReferenceLinkSerializer. |
Properties
Name | Description | |
---|---|---|
ODataPayloadKind | Gets the ODataPayloadKind that this serializer generates.(Inherited from ODataSerializer.) |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
|
WriteObject(Object, Type, ODataMessageWriter, ODataSerializerContext) | (Overrides ODataSerializer.WriteObject(Object, Type, ODataMessageWriter, ODataSerializerContext).) |
Remarks
For example, the response to the url https://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.
See Also
System.Web.Http.OData.Formatter.Serialization Namespace
Return to top