ODataEntityReferenceLink Class

Represents an OData entity reference link.

Inheritance Hierarchy

System.Object
  Microsoft.Data.OData.ODataAnnotatable
    Microsoft.Data.OData.ODataItem
      Microsoft.Data.OData.ODataEntityReferenceLink

Namespace:  Microsoft.Data.OData
Assembly:  Microsoft.Data.OData (in Microsoft.Data.OData.dll)

Syntax

'Declaration
<DebuggerDisplayAttribute("{Url.OriginalString}")> _
Public NotInheritable Class ODataEntityReferenceLink _
    Inherits ODataItem
'Usage
Dim instance As ODataEntityReferenceLink
[DebuggerDisplayAttribute("{Url.OriginalString}")]
public sealed class ODataEntityReferenceLink : ODataItem
[DebuggerDisplayAttribute(L"{Url.OriginalString}")]
public ref class ODataEntityReferenceLink sealed : public ODataItem
[<SealedAttribute>]
[<DebuggerDisplayAttribute("{Url.OriginalString}")>]
type ODataEntityReferenceLink =  
    class 
        inherit ODataItem 
    end
public final class ODataEntityReferenceLink extends ODataItem

The ODataEntityReferenceLink type exposes the following members.

Constructors

  Name Description
Public method ODataEntityReferenceLink Creates a new instance of the ODataEntityReferenceLink class.

Top

Properties

  Name Description
Public property Url Gets or sets the URI representing the URL of the referenced entity.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetAnnotation<T> Gets or sets the annotation by type. (Inherited from ODataAnnotatable.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method SetAnnotation<T> Sets an annotation of type T. (Inherited from ODataAnnotatable.)
Public method ToString (Inherited from Object.)

Top

Extension Methods

  Name Description
Public Extension Method SetSerializationInfo Provide additional serialization information to the ODataMessageWriter for entityReferenceLink. (Defined by ODataObjectModelExtensions.)

Top

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

Reference

Microsoft.Data.OData Namespace