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>

組成索引的屬性。

傳回

已移除的索引。

適用於