共用方式為


ODataResourceBase 類別

定義

資源或刪除資源的基類。

public abstract class ODataResourceBase : Microsoft.OData.ODataItem
type ODataResourceBase = class
    inherit ODataItem
Public MustInherit Class ODataResourceBase
Inherits ODataItem
繼承
ODataResourceBase
衍生

建構函式

ODataResourceBase()

資源或刪除資源的基類。

屬性

Actions

取得實體動作。

EditLink

取得或設定用來編輯資源的連結。

ETag

取得或設定資源 ETag。

Functions

取得實體函式。

Id

取得或設定資源識別碼。

InstanceAnnotations

自訂執行個體註釋的集合。

IsTransient

取得或設定值,這個值會顯示資源是否為暫時性資源

MediaResource

取得或設定媒體連結資源的預設媒體資源。

Properties

取得或設定資源屬性。

ReadLink

取得或設定可用來讀取資源的連結。

TypeAnnotation

用於儲存 的 @odata.type 批註。

(繼承來源 ODataAnnotatable)
TypeName

取得或設定資源的型別名稱。

方法

AddAction(ODataAction)

將動作新增至資源。

AddFunction(ODataFunction)

將函式新增至資源。

擴充方法

SetSerializationInfo(ODataResourceBase, ODataResourceSerializationInfo)

為 提供 其他序列化資訊給 ODataWriterresource

適用於