Share via


ODataResourceBase Class

Definition

Base class for a resource or deleted resource.

public abstract class ODataResourceBase : Microsoft.OData.ODataItem
type ODataResourceBase = class
    inherit ODataItem
Public MustInherit Class ODataResourceBase
Inherits ODataItem
Inheritance
ODataResourceBase
Derived

Constructors

ODataResourceBase()

Properties

Actions

Gets the entity actions.

EditLink

Gets or sets the link used to edit the resource.

ETag

Gets or sets the resource ETag.

Functions

Gets the entity functions.

Id

Gets or sets the Resource identifier.

InstanceAnnotations

Collection of custom instance annotations.

IsTransient

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

MediaResource

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

Properties

Gets or sets the resource properties.

ReadLink

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

TypeAnnotation

The annotation for storing @odata.type.

(Inherited from ODataAnnotatable)
TypeName

Gets or sets the type name of the resource.

Methods

AddAction(ODataAction)

Add action to resource.

AddFunction(ODataFunction)

Add function to resource.

Extension Methods

SetSerializationInfo(ODataResourceBase, ODataResourceSerializationInfo)

Provide additional serialization information to the ODataWriter for resource.

Applies to