MutableForeignKeyExtensions.GetNavigation(IMutableForeignKey, Boolean) メソッド

定義

この外部キーに関連付けられているナビゲーションを返します。

public static Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation GetNavigation (this Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey foreignKey, bool pointsToPrincipal);
static member GetNavigation : Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey * bool -> Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation
<Extension()>
Public Function GetNavigation (foreignKey As IMutableForeignKey, pointsToPrincipal As Boolean) As IMutableNavigation

パラメーター

foreignKey
IMutableForeignKey

外部キー。

pointsToPrincipal
Boolean

ナビゲーションがプリンシパル型を指す依存型に基づくかどうかを示す値。

戻り値

この外部キーまたは nullに関連付けられているナビゲーション。

適用対象