IConventionTypeBase.FindDeclaredComplexProperty(String) 方法

定義

尋找在具有指定名稱之型別上宣告的屬性。 不會傳回基底類型上定義的屬性。

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 只會尋找複雜的屬性,而且找不到導覽、純量或服務屬性。

適用於