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 | |
---|---|---|
ODataEntry() | Initializes a new instance of the ODataEntry class. |
Properties
Name | Description | |
---|---|---|
Actions | Gets or sets the entity actions. |
|
EditLink | Gets or sets the link used to edit the entry. |
|
ETag | Gets or sets the entry ETag. |
|
Functions | Gets or sets the entity functions. |
|
Id | Gets or sets the Entry identifier. |
|
InstanceAnnotations | Gets or sets the collection of custom instance annotations. |
|
IsTransient | Gets or sets the value that shows if the entry is a transient entry or not |
|
MediaResource | Gets or sets the default media resource of the media link entry. |
|
Properties | Gets or sets the entry properties. |
|
ReadLink | Gets or sets a link that can be used to read the entry. |
|
TypeName | Gets or sets the type name of the entry. |
Methods
Name | Description | |
---|---|---|
AddAction(ODataAction) | Adds an entry action. |
|
AddFunction(ODataFunction) | Adds an entity function. |
|
Equals(Object) | (Inherited from Object.) |
|
GetAnnotation<T>() | Gets or sets the annotation by type.(Inherited from ODataAnnotatable.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
SetAnnotation<T>(T) | Sets an annotation of type T.(Inherited from ODataAnnotatable.) |
|
ToString() | (Inherited from Object.) |
Extension Methods
Name | Description | |
---|---|---|
Atom() | Overloaded. Determines an extension method to get the AtomEntryMetadata for an annotatable entry.(Defined by ExtensionMethods.) |
|
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