ODataResourceBase Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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 |