Share via


IndexAnnotation Constructors

Definition

Overloads

IndexAnnotation(IEnumerable<IndexAttribute>)

Creates a new annotation for the given collection of indexes.

IndexAnnotation(IndexAttribute)

Creates a new annotation for the given index.

IndexAnnotation(IEnumerable<IndexAttribute>)

Creates a new annotation for the given collection of indexes.

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))

Parameters

indexAttributes
IEnumerable<IndexAttribute>

Index attributes representing one or more indexes.

Applies to

IndexAnnotation(IndexAttribute)

Creates a new annotation for the given index.

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

Parameters

indexAttribute
IndexAttribute

An index attributes representing an index.

Applies to