Share via


IConventionEntityType.RemoveIndex Método

Definição

Sobrecargas

RemoveIndex(IConventionIndex)

Remove um índice desse tipo de entidade.

RemoveIndex(IReadOnlyIndex)

Remove um índice desse tipo de entidade.

RemoveIndex(IReadOnlyList<IReadOnlyProperty>)

Remove um índice desse tipo de entidade.

RemoveIndex(IConventionIndex)

Remove um índice desse tipo de entidade.

public void RemoveIndex (Microsoft.EntityFrameworkCore.Metadata.IConventionIndex index);
public Microsoft.EntityFrameworkCore.Metadata.IConventionIndex RemoveIndex (Microsoft.EntityFrameworkCore.Metadata.IConventionIndex index);
abstract member RemoveIndex : Microsoft.EntityFrameworkCore.Metadata.IConventionIndex -> unit
abstract member RemoveIndex : Microsoft.EntityFrameworkCore.Metadata.IConventionIndex -> Microsoft.EntityFrameworkCore.Metadata.IConventionIndex
Public Sub RemoveIndex (index As IConventionIndex)
Public Function RemoveIndex (index As IConventionIndex) As IConventionIndex

Parâmetros

index
IConventionIndex

O índice a ser removido.

Retornos

O índice removido.

Aplica-se a

RemoveIndex(IReadOnlyIndex)

Remove um índice desse tipo de entidade.

public Microsoft.EntityFrameworkCore.Metadata.IConventionIndex? RemoveIndex (Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex index);
abstract member RemoveIndex : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex -> Microsoft.EntityFrameworkCore.Metadata.IConventionIndex
Public Function RemoveIndex (index As IReadOnlyIndex) As IConventionIndex

Parâmetros

index
IReadOnlyIndex

O índice a ser removido.

Retornos

O índice removido ou null se o índice não foi encontrado.

Aplica-se a

RemoveIndex(IReadOnlyList<IReadOnlyProperty>)

Remove um índice desse tipo de entidade.

public Microsoft.EntityFrameworkCore.Metadata.IConventionIndex? RemoveIndex (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> properties);
abstract member RemoveIndex : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> -> Microsoft.EntityFrameworkCore.Metadata.IConventionIndex
Public Function RemoveIndex (properties As IReadOnlyList(Of IReadOnlyProperty)) As IConventionIndex

Parâmetros

properties
IReadOnlyList<IReadOnlyProperty>

As propriedades que compõem o índice.

Retornos

O índice que foi removido.

Aplica-se a