IndexAnnotation Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework