ConventionEntityTypeExtensions.RemoveIndex Method

Definition

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