IndexAnnotation Constructor

 

Initializes a new instance of the IndexAnnotation class.

Namespace:   System.Data.Entity.Infrastructure.Annotations
Assembly:  EntityFramework (in EntityFramework.dll)

NameDescription
System_CAPS_pubmethodIndexAnnotation(IEnumerable<IndexAttribute>)

Initializes a new instance of the IndexAnnotation class using the given collection of indexes.

System_CAPS_pubmethodIndexAnnotation(IndexAttribute)

Initializes a new instance of the IndexAnnotation class using the given collection of indexes.


IndexAnnotation Constructor (IEnumerable<IndexAttribute>)

Initializes a new instance of the IndexAnnotation class using the given collection of indexes.

public IndexAnnotation(
	IEnumerable<IndexAttribute> indexAttributes
)

Parameters

indexAttributes
Type: System.Collections.Generic.IEnumerable<IndexAttribute>

The index attributes representing one or more indexes.


IndexAnnotation Constructor (IndexAttribute)

Initializes a new instance of the IndexAnnotation class using the given collection of indexes.

public IndexAnnotation(
	IndexAttribute indexAttribute
)

Parameters

indexAttribute
Type: System.ComponentModel.DataAnnotations.Schema.IndexAttribute

An index attributes representing an index.