Condividi tramite


IConventionEntityType.RemoveIndex Metodo

Definizione

Overload

RemoveIndex(IConventionIndex)

Rimuove un indice da questo tipo di entità.

RemoveIndex(IReadOnlyIndex)

Rimuove un indice da questo tipo di entità.

RemoveIndex(IReadOnlyList<IReadOnlyProperty>)

Rimuove un indice da questo tipo di entità.

RemoveIndex(IConventionIndex)

Rimuove un indice da questo tipo di entità.

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

Parametri

index
IConventionIndex

Indice da rimuovere.

Restituisce

Indice rimosso.

Si applica a

RemoveIndex(IReadOnlyIndex)

Rimuove un indice da questo tipo di entità.

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

Parametri

index
IReadOnlyIndex

Indice da rimuovere.

Restituisce

Indice rimosso o null se l'indice non è stato trovato.

Si applica a

RemoveIndex(IReadOnlyList<IReadOnlyProperty>)

Rimuove un indice da questo tipo di entità.

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

Parametri

properties
IReadOnlyList<IReadOnlyProperty>

Proprietà che costituiscono l'indice.

Restituisce

Indice rimosso.

Si applica a