IndexAnnotation 构造函数

定义

重载

IndexAnnotation(IEnumerable<IndexAttribute>)

为给定索引集合创建一个新批注。

IndexAnnotation(IndexAttribute)

为给定索引创建一个新批注。

IndexAnnotation(IEnumerable<IndexAttribute>)

为给定索引集合创建一个新批注。

public IndexAnnotation (System.Collections.Generic.IEnumerable<System.ComponentModel.DataAnnotations.Schema.IndexAttribute> indexAttributes);
new System.Data.Entity.Infrastructure.Annotations.IndexAnnotation : seq<System.ComponentModel.DataAnnotations.Schema.IndexAttribute> -> System.Data.Entity.Infrastructure.Annotations.IndexAnnotation
Public Sub New (indexAttributes As IEnumerable(Of IndexAttribute))

参数

indexAttributes
IEnumerable<IndexAttribute>

表示一个或多个索引的索引属性。

适用于

IndexAnnotation(IndexAttribute)

为给定索引创建一个新批注。

public IndexAnnotation (System.ComponentModel.DataAnnotations.Schema.IndexAttribute indexAttribute);
new System.Data.Entity.Infrastructure.Annotations.IndexAnnotation : System.ComponentModel.DataAnnotations.Schema.IndexAttribute -> System.Data.Entity.Infrastructure.Annotations.IndexAnnotation

参数

indexAttribute
IndexAttribute

表示索引的索引属性。

适用于