IndexAnnotation Constructor
Initializes a new instance of the IndexAnnotation class.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | IndexAnnotation(IEnumerable<IndexAttribute>) | Initializes a new instance of the IndexAnnotation class using the given collection of indexes. |
![]() | IndexAnnotation(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.
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.
Parameters
- indexAttribute
-
Type:
System.ComponentModel.DataAnnotations.Schema.IndexAttribute
An index attributes representing an index.