IMutableEntityType.RemoveIndex 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
RemoveIndex(IMutableIndex) |
從這個實體類型移除索引。 |
RemoveIndex(IReadOnlyIndex) |
從這個實體類型移除索引。 |
RemoveIndex(IReadOnlyList<IProperty>) |
從這個實體移除索引。 |
RemoveIndex(IReadOnlyList<IReadOnlyProperty>) |
從這個實體類型移除索引。 |
RemoveIndex(IMutableIndex)
從這個實體類型移除索引。
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
參數
- index
- IMutableIndex
要移除的索引。
傳回
移除的索引。
適用於
RemoveIndex(IReadOnlyIndex)
從這個實體類型移除索引。
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
參數
- index
- IReadOnlyIndex
要移除的索引。
傳回
移除的索引,如果找不到索引,則 null
為 。
適用於
RemoveIndex(IReadOnlyList<IProperty>)
從這個實體移除索引。
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
參數
- properties
- IReadOnlyList<IProperty>
組成索引的屬性。
傳回
已移除的索引。
適用於
RemoveIndex(IReadOnlyList<IReadOnlyProperty>)
從這個實體類型移除索引。
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
參數
- properties
- IReadOnlyList<IReadOnlyProperty>
組成索引的屬性。
傳回
移除的索引,如果找不到索引,則 null
為 。
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應