Share via


ODataEntry Class

Represents a single entity.

Inheritance Hierarchy

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

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

Syntax

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

The ODataEntry type exposes the following members.

Constructors

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

Top

Properties

  Name Description
Public property Actions Gets or sets the entity actions.
Public property AssociationLinks Gets or sets the association links.
Public property EditLink Gets or sets the link used to edit the entry.
Public property ETag Gets or sets the entry ETag.
Public property Functions Gets or sets the entity functions.
Public property Id Gets or sets the Entry identifier.
Public property InstanceAnnotations Collection of custom instance annotations.
Public property MediaResource Gets or sets the default media resource of the media link entry.
Public property Properties Gets or sets the entry properties.
Public property ReadLink Gets or sets a link that can be used to read the entry.
Public property TypeName Gets or sets the type name of the entry.

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 Atom Determines an extension method to get the AtomEntryMetadata for an annotatable entry. (Defined by ExtensionMethods.)
Public Extension Method SetSerializationInfo Provide additional serialization information to the ODataWriter for entry. (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