表示用于存储有关存储元素的功能特定信息的模型批注。
命名空间:  Microsoft.Data.Schema.SchemaModel
程序集:  Microsoft.Data.Schema(在 Microsoft.Data.Schema.dll 中)
语法
声明
Public Interface IModelAnnotation _
    Inherits IModelPropertyContainer, IModelEntity
public interface IModelAnnotation : IModelPropertyContainer, 
    IModelEntity
public interface class IModelAnnotation : IModelPropertyContainer, 
    IModelEntity
type IModelAnnotation =  
    interface
        interface IModelPropertyContainer
        interface IModelEntity
    end
public interface IModelAnnotation extends IModelPropertyContainer, IModelEntity
IModelAnnotation 类型公开以下成员。
属性
| 名称 | 说明 | |
|---|---|---|
| .gif) | AnnotationClass | 获取批注的元数据类。 | 
| .gif) | IsAttachedToStore | 获取此批注是否附加到模型存储。 | 
| .gif) | Model | 获取模型引用。 (继承自 IModelEntity。) | 
| .gif) | Name | 获取或设置此批注的名称。 | 
页首
方法
| 名称 | 说明 | |
|---|---|---|
| .gif) | Delete | 从模型中删除此实例。 | 
| .gif) | GetElements | 返回此批注所附加到的元素的列表。 | 
| .gif) | GetProperty<TProperty> | 获取指定属性。 (继承自 IModelPropertyContainer。) | 
| .gif) | GetRelationshipEntries | 返回此批注所附加到的关系项的列表。 | 
| .gif) | IsDeleted | 返回对象是否已删除。 | 
| .gif) | SetProperty<TProperty> | 设置指定的属性。 (继承自 IModelPropertyContainer。) | 
页首
请参见
参考
Microsoft.Data.Schema.SchemaModel 命名空间
AnnotationClass