IConventionTypeBase.FindDeclaredProperty(String) 方法

定義

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

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

參數

name
String

屬性名稱。

傳回

如果找不到屬性,則為 null

適用於