Share via


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
System_CAPS_pubmethod ODataEntityReferenceLinkSerializer()

Initializes a new instance of ODataEntityReferenceLinkSerializer.

Properties

Name Description
System_CAPS_pubproperty ODataPayloadKind

Gets the ODataPayloadKind that this serializer generates.(Inherited from ODataSerializer.)

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethod 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