IMutableEntityType.RemoveIndex Method

Definition

Overloads

RemoveIndex(IMutableIndex)

Removes an index from this entity type.

RemoveIndex(IReadOnlyIndex)

Removes an index from this entity type.

RemoveIndex(IReadOnlyList<IProperty>)

Removes an index from this entity.

RemoveIndex(IReadOnlyList<IReadOnlyProperty>)

Removes an index from this entity type.

RemoveIndex(IMutableIndex)

Removes an index from this entity type.

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

Parameters

index
IMutableIndex

The index to remove.

Returns

The removed index.

Applies to

RemoveIndex(IReadOnlyIndex)

Removes an index from this entity type.

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

Parameters

index
IReadOnlyIndex

The index to remove.

Returns

The removed index, or null if the index was not found.

Applies to

RemoveIndex(IReadOnlyList<IProperty>)

Removes an index from this entity.

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

Parameters

properties
IReadOnlyList<IProperty>

The properties that make up the index.

Returns

The index that was removed.

Applies to

RemoveIndex(IReadOnlyList<IReadOnlyProperty>)

Removes an index from this entity type.

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

Parameters

properties
IReadOnlyList<IReadOnlyProperty>

The properties that make up the index.

Returns

The removed index, or null if the index was not found.

Applies to