Share via


ODataEntry Class

 

Represents an OData single entity.

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

Inheritance Hierarchy

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

Syntax

[DebuggerDisplayAttribute("Id: {Id} TypeName: {TypeName}")]
public sealed class ODataEntry : ODataItem
[DebuggerDisplayAttribute("Id: {Id} TypeName: {TypeName}")]
public ref class ODataEntry sealed : ODataItem
[<Sealed>]
[<DebuggerDisplayAttribute("Id: {Id} TypeName: {TypeName}")>]
type ODataEntry = 
    class
        inherit ODataItem
    end
<DebuggerDisplayAttribute("Id: {Id} TypeName: {TypeName}")>
Public NotInheritable Class ODataEntry
    Inherits ODataItem

Constructors

Name Description
System_CAPS_pubmethod ODataEntry()

Initializes a new instance of the ODataEntry class.

Properties

Name Description
System_CAPS_pubproperty Actions

Gets or sets the entity actions.

System_CAPS_pubproperty EditLink

Gets or sets the link used to edit the entry.

System_CAPS_pubproperty ETag

Gets or sets the entry ETag.

System_CAPS_pubproperty Functions

Gets or sets the entity functions.

System_CAPS_pubproperty Id

Gets or sets the Entry identifier.

System_CAPS_pubproperty InstanceAnnotations

Gets or sets the collection of custom instance annotations.

System_CAPS_pubproperty IsTransient

Gets or sets the value that shows if the entry is a transient entry or not

System_CAPS_pubproperty MediaResource

Gets or sets the default media resource of the media link entry.

System_CAPS_pubproperty Properties

Gets or sets the entry properties.

System_CAPS_pubproperty ReadLink

Gets or sets a link that can be used to read the entry.

System_CAPS_pubproperty TypeName

Gets or sets the type name of the entry.

Methods

Name Description
System_CAPS_pubmethod AddAction(ODataAction)

Adds an entry action.

System_CAPS_pubmethod AddFunction(ODataFunction)

Adds an entity function.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetAnnotation<T>()

Gets or sets the annotation by type.(Inherited from ODataAnnotatable.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod SetAnnotation<T>(T)

Sets an annotation of type T.(Inherited from ODataAnnotatable.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Extension Methods

Name Description
System_CAPS_pubmethod Atom()

Overloaded. Determines an extension method to get the AtomEntryMetadata for an annotatable entry.(Defined by ExtensionMethods.)

System_CAPS_pubmethod SetSerializationInfo(ODataFeedAndEntrySerializationInfo)

Overloaded. Provides additional serialization information to the ODataWriter for entry.(Defined by ODataObjectModelExtensions.)

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

Microsoft.OData.Core Namespace

Return to top