共用方式為


RuntimeEntityType.IEntityType.FindProperty(String) 方法

定義

取得具有指定名稱的屬性。 如果未定義具有指定名稱的屬性,則傳 null 回 。

[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IProperty? IEntityType.FindProperty (string name);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IProperty IEntityType.FindProperty (string name);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IEntityType.FindProperty : string -> Microsoft.EntityFrameworkCore.Metadata.IProperty
override this.Microsoft.EntityFrameworkCore.Metadata.IEntityType.FindProperty : string -> Microsoft.EntityFrameworkCore.Metadata.IProperty
Function FindProperty (name As String) As IProperty Implements IEntityType.FindProperty

參數

name
String

屬性的名稱。

傳回

如果找不到屬性,則為 null

實作

屬性

適用於