IndexAnnotation 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
表示索引的索引属性。