IConventionTypeBase.RemoveComplexProperty 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
RemoveComplexProperty(IConventionComplexProperty) |
從這個類型移除屬性。 |
RemoveComplexProperty(String) |
從這個類型移除屬性。 |
RemoveComplexProperty(IConventionComplexProperty)
從這個類型移除屬性。
public Microsoft.EntityFrameworkCore.Metadata.IConventionComplexProperty? RemoveComplexProperty (Microsoft.EntityFrameworkCore.Metadata.IConventionComplexProperty property);
abstract member RemoveComplexProperty : Microsoft.EntityFrameworkCore.Metadata.IConventionComplexProperty -> Microsoft.EntityFrameworkCore.Metadata.IConventionComplexProperty
Public Function RemoveComplexProperty (property As IConventionComplexProperty) As IConventionComplexProperty
參數
- property
- IConventionComplexProperty
要移除的屬性。
傳回
已移除的屬性,如果找不到屬性,則 null
為 。
適用於
RemoveComplexProperty(String)
從這個類型移除屬性。
public Microsoft.EntityFrameworkCore.Metadata.IConventionComplexProperty? RemoveComplexProperty (string name);
abstract member RemoveComplexProperty : string -> Microsoft.EntityFrameworkCore.Metadata.IConventionComplexProperty
Public Function RemoveComplexProperty (name As String) As IConventionComplexProperty
參數
- name
- String
要移除之屬性的名稱。
傳回
已移除的屬性。
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應