次の方法で共有


RuntimeEntityType.IReadOnlyEntityType.FindDeclaredNavigation(String) メソッド

定義

指定したエンティティ型のナビゲーション プロパティを取得します。 基本型で定義されているナビゲーション プロパティは返しません。 nullナビゲーション プロパティが見つからない場合は を返します。

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

パラメーター

name
String

エンティティ クラスのナビゲーション プロパティの名前。

戻り値

ナビゲーション プロパティ。 null 何も見つからない場合は 。

実装

属性

適用対象