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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework