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) 成员都是线程安全的。不保证所有实例成员都是线程安全的。