共用方式為


RuntimeEntityType.IReadOnlyEntityType.FindProperty(String) 方法

定義

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

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

參數

name
String

屬性的名稱。

傳回

如果找不到屬性,則為 null

實作

屬性

適用於