共用方式為


RuntimeEntityType.IEntityType.FindDeclaredNavigation(String) 方法

定義

取得指定實體類型上的導覽屬性。 不會傳回基底類型上定義的導覽屬性。 如果找不到導覽屬性,則傳 null 回 。

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

參數

name
String

實體類別上的導覽屬性名稱。

傳回

巡覽屬性,如果找不到,則 null 為 。

實作

屬性

適用於