Поделиться через


MutableEntityTypeExtensions.RemoveIndex Метод

Определение

Удаляет индекс из этого типа сущности.

public static Microsoft.EntityFrameworkCore.Metadata.IMutableIndex RemoveIndex (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IMutableProperty> properties);
static member RemoveIndex : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IMutableProperty> -> Microsoft.EntityFrameworkCore.Metadata.IMutableIndex
<Extension()>
Public Function RemoveIndex (entityType As IMutableEntityType, properties As IReadOnlyList(Of IMutableProperty)) As IMutableIndex

Параметры

entityType
IMutableEntityType

Тип сущности.

properties
IReadOnlyList<IMutableProperty>

Свойства, составляющие индекс.

Возвращаемое значение

Индекс, который был удален.

Применяется к