IMutableTypeBase.FindDeclaredComplexProperty(String) 方法

定義

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

public virtual Microsoft.EntityFrameworkCore.Metadata.IMutableComplexProperty? FindDeclaredComplexProperty (string name);
abstract member FindDeclaredComplexProperty : string -> Microsoft.EntityFrameworkCore.Metadata.IMutableComplexProperty
override this.FindDeclaredComplexProperty : string -> Microsoft.EntityFrameworkCore.Metadata.IMutableComplexProperty
Public Overridable Function FindDeclaredComplexProperty (name As String) As IMutableComplexProperty

參數

name
String

屬性名稱。

傳回

如果找不到屬性,則 null 為 。

備註

此 API 只會尋找複雜的屬性,而且找不到流覽、純量或服務屬性。

適用於