Share via


IReadOnlyEntityType.GetProperty(String) メソッド

定義

指定した名前のプロパティを取得します。

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

パラメーター

name
String

プロパティ名。

戻り値

プロパティ。

注釈

この API はスカラー プロパティのみを検索し、ナビゲーション プロパティは見つかりません。 ナビゲーション プロパティを検索するには、 を使用 FindNavigation(String) します。

適用対象