ODataEntry 类

表示单个实体。

继承层次结构

System.Object
  Microsoft.Data.OData.ODataAnnotatable
    Microsoft.Data.OData.ODataItem
      Microsoft.Data.OData.ODataEntry

命名空间:  Microsoft.Data.OData
程序集:  Microsoft.Data.OData(在 Microsoft.Data.OData.dll 中)

语法

声明
Public NotInheritable Class ODataEntry _
    Inherits ODataItem
用法
Dim instance As ODataEntry
public sealed class ODataEntry : ODataItem
public ref class ODataEntry sealed : public ODataItem
[<SealedAttribute>]
type ODataEntry =  
    class
        inherit ODataItem
    end
public final class ODataEntry extends ODataItem

ODataEntry 类型公开以下成员。

构造函数

  名称 说明
公共方法 ODataEntry 创建 ODataEntry 类的新实例。

页首

属性

  名称 说明
公共属性 Actions 获取或设置实体操作。
公共属性 AssociationLinks 获取或设置关联链接。
公共属性 EditLink 获取或设置用于编辑条目的链接。
公共属性 ETag 获取或设置条目 ETag。
公共属性 Functions 获取或设置实体函数。
公共属性 Id 获取或设置条目标识符。
公共属性 MediaResource 获取或设置媒体链接条目的默认媒体资源。
公共属性 Properties 获取或设置条目属性。
公共属性 ReadLink 获取或设置可用于读取该条目的链接。
公共属性 TypeName 获取或设置条目的类型名称。

页首

方法

  名称 说明
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetAnnotation<T> 获取或设置批注类型。 (从 ODataAnnotatable 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 SetAnnotation<T> 设置类型 T 的批注。 (从 ODataAnnotatable 继承。)
公共方法 ToString (从 Object 继承。)

页首

扩展方法

  名称 说明
公共扩展方法 Atom 确定扩展方法获取可批注条目的 AtomEntryMetadata。 (由 ExtensionMethods 定义。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.Data.OData 命名空间