IMutableEntityType.RemoveIndex Method
Definition
Overloads
RemoveIndex(IMutableIndex) |
Removes an index from this entity type. |
RemoveIndex(IReadOnlyList<IProperty>) |
Removes an index from this entity. |
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(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.