IConventionEntityType.RemoveIndex Methode

Definition

Überlädt

RemoveIndex(IConventionIndex)

Entfernt einen Index aus diesem Entitätstyp.

RemoveIndex(IReadOnlyIndex)

Entfernt einen Index aus diesem Entitätstyp.

RemoveIndex(IReadOnlyList<IReadOnlyProperty>)

Entfernt einen Index aus diesem Entitätstyp.

RemoveIndex(IConventionIndex)

Entfernt einen Index aus diesem Entitätstyp.

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

Parameter

index
IConventionIndex

Der zu entfernende Index.

Gibt zurück

Der entfernte Index.

Gilt für:

RemoveIndex(IReadOnlyIndex)

Entfernt einen Index aus diesem Entitätstyp.

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

Parameter

index
IReadOnlyIndex

Der zu entfernende Index.

Gibt zurück

Der entfernte Index oder null , wenn der Index nicht gefunden wurde.

Gilt für:

RemoveIndex(IReadOnlyList<IReadOnlyProperty>)

Entfernt einen Index aus diesem Entitätstyp.

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

Parameter

properties
IReadOnlyList<IReadOnlyProperty>

Die Eigenschaften, aus denen der Index besteht.

Gibt zurück

Der Index, der entfernt wurde.

Gilt für: