ODataResource 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.
Represents a single entity.
public sealed class ODataResource : Microsoft.OData.ODataResourceBase
type ODataResource = class
inherit ODataResourceBase
Public NotInheritable Class ODataResource
Inherits ODataResourceBase
- Inheritance
Constructors
ODataResource() |
Properties
Actions |
Gets the entity actions. (Inherited from ODataResourceBase) |
EditLink |
Gets or sets the link used to edit the resource. (Inherited from ODataResourceBase) |
ETag |
Gets or sets the resource ETag. (Inherited from ODataResourceBase) |
Functions |
Gets the entity functions. (Inherited from ODataResourceBase) |
Id |
Gets or sets the Resource identifier. (Inherited from ODataResourceBase) |
InstanceAnnotations |
Collection of custom instance annotations. (Inherited from ODataResourceBase) |
IsTransient |
Gets or sets the value that shows if the resource is a transient resource or not (Inherited from ODataResourceBase) |
MediaResource |
Gets or sets the default media resource of the media link resource. (Inherited from ODataResourceBase) |
Properties |
Gets or sets the resource properties. (Inherited from ODataResourceBase) |
ReadLink |
Gets or sets a link that can be used to read the resource. (Inherited from ODataResourceBase) |
TypeAnnotation |
The annotation for storing @odata.type. (Inherited from ODataAnnotatable) |
TypeName |
Gets or sets the type name of the resource. (Inherited from ODataResourceBase) |
Methods
AddAction(ODataAction) |
Add action to resource. (Inherited from ODataResourceBase) |
AddFunction(ODataFunction) |
Add function to resource. (Inherited from ODataResourceBase) |
Extension Methods
SetSerializationInfo(ODataResource, ODataResourceSerializationInfo) |
Provide additional serialization information to the ODataWriter for |
SetSerializationInfo(ODataResourceBase, ODataResourceSerializationInfo) |
Provide additional serialization information to the ODataWriter for |