IConventionEntityType.RemoveIndex Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
RemoveIndex(IConventionIndex) |
Removes an index from this entity type. |
RemoveIndex(IReadOnlyIndex) |
Removes an index from this entity type. |
RemoveIndex(IReadOnlyList<IReadOnlyProperty>) |
Removes an index from this entity type. |
RemoveIndex(IConventionIndex)
Removes an index from this entity type.
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
Parameters
- index
- IConventionIndex
The index to remove.
Returns
The removed index.
Applies to
RemoveIndex(IReadOnlyIndex)
Removes an index from this entity type.
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
Parameters
- index
- IReadOnlyIndex
The index to remove.
Returns
The removed index, or null
if the index was not found.
Applies to
RemoveIndex(IReadOnlyList<IReadOnlyProperty>)
Removes an index from this entity type.
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
Parameters
- properties
- IReadOnlyList<IReadOnlyProperty>
The properties that make up the index.
Returns
The index that was removed.
Applies to
Entity Framework