ConventionEntityTypeExtensions.RemoveIndex Method
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.
Removes an index from this entity type.
public static Microsoft.EntityFrameworkCore.Metadata.IConventionIndex RemoveIndex (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty> properties);
static member RemoveIndex : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty> -> Microsoft.EntityFrameworkCore.Metadata.IConventionIndex
<Extension()>
Public Function RemoveIndex (entityType As IConventionEntityType, properties As IReadOnlyList(Of IConventionProperty)) As IConventionIndex
Parameters
- entityType
- IConventionEntityType
The entity type.
- properties
- IReadOnlyList<IConventionProperty>
The properties that make up the index.
Returns
The index that was removed.
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