共用方式為


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 為 。

實作

屬性

適用於