IConventionTypeBase.FindDeclaredComplexProperty(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
尋找在具有指定名稱之型別上宣告的屬性。 不會傳回基底類型上定義的屬性。
public virtual Microsoft.EntityFrameworkCore.Metadata.IConventionComplexProperty? FindDeclaredComplexProperty (string name);
abstract member FindDeclaredComplexProperty : string -> Microsoft.EntityFrameworkCore.Metadata.IConventionComplexProperty
override this.FindDeclaredComplexProperty : string -> Microsoft.EntityFrameworkCore.Metadata.IConventionComplexProperty
Public Overridable Function FindDeclaredComplexProperty (name As String) As IConventionComplexProperty
參數
- name
- String
屬性名稱。
傳回
如果找不到屬性,則為 null
。
備註
此 API 只會尋找複雜的屬性,而且找不到導覽、純量或服務屬性。