ColumnModel.Annotations 属性

[本页针对的是实体框架版本 6。最新版本以“实体框架”NuGet 包的形式提供。有关实体框架的更多信息,请参见 msdn.com/data/ef。]

获取或设置列中已更改的自定义注释。

命名空间:  System.Data.Entity.Migrations.Model
程序集:  EntityFramework(在 EntityFramework.dll 中)

语法

声明
<SuppressMessageAttribute("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")> _
Public Property Annotations As IDictionary(Of String, AnnotationValues)
    Get 
    Set
用法
Dim instance As ColumnModel 
Dim value As IDictionary(Of String, AnnotationValues)

value = instance.Annotations

instance.Annotations = value
[SuppressMessageAttribute("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public IDictionary<string, AnnotationValues> Annotations { get; set; }
[SuppressMessageAttribute(L"Microsoft.Usage", L"CA2227:CollectionPropertiesShouldBeReadOnly")]
public:
property IDictionary<String^, AnnotationValues^>^ Annotations {
    IDictionary<String^, AnnotationValues^>^ get ();
    void set (IDictionary<String^, AnnotationValues^>^ value);
}
[<SuppressMessageAttribute("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")>]
member Annotations : IDictionary<string, AnnotationValues> with get, set
function get Annotations () : IDictionary<String, AnnotationValues>
function set Annotations (value : IDictionary<String, AnnotationValues>)

属性值

类型:System.Collections.Generic.IDictionary<String, AnnotationValues>

请参阅

参考

ColumnModel 类

System.Data.Entity.Migrations.Model 命名空间