共用方式為


NavigationExtensions.FindInverse(INavigation) 方法

定義

警告

Use INavigation.Inverse

警告

Use IReadOnlyNavigation.Inverse

取得關聯性另一端的導覽屬性。 如果沒有定義于關聯性另一端的導覽屬性,則傳回 null。

public static Microsoft.EntityFrameworkCore.Metadata.INavigation FindInverse (this Microsoft.EntityFrameworkCore.Metadata.INavigation navigation);
[System.Diagnostics.DebuggerStepThrough]
public static Microsoft.EntityFrameworkCore.Metadata.INavigation FindInverse (this Microsoft.EntityFrameworkCore.Metadata.INavigation navigation);
[System.Diagnostics.DebuggerStepThrough]
[System.Obsolete("Use INavigation.Inverse")]
public static Microsoft.EntityFrameworkCore.Metadata.INavigation FindInverse (this Microsoft.EntityFrameworkCore.Metadata.INavigation navigation);
[System.Diagnostics.DebuggerStepThrough]
[System.Obsolete("Use IReadOnlyNavigation.Inverse")]
public static Microsoft.EntityFrameworkCore.Metadata.INavigation? FindInverse (this Microsoft.EntityFrameworkCore.Metadata.INavigation navigation);
static member FindInverse : Microsoft.EntityFrameworkCore.Metadata.INavigation -> Microsoft.EntityFrameworkCore.Metadata.INavigation
[<System.Diagnostics.DebuggerStepThrough>]
static member FindInverse : Microsoft.EntityFrameworkCore.Metadata.INavigation -> Microsoft.EntityFrameworkCore.Metadata.INavigation
[<System.Diagnostics.DebuggerStepThrough>]
[<System.Obsolete("Use INavigation.Inverse")>]
static member FindInverse : Microsoft.EntityFrameworkCore.Metadata.INavigation -> Microsoft.EntityFrameworkCore.Metadata.INavigation
[<System.Diagnostics.DebuggerStepThrough>]
[<System.Obsolete("Use IReadOnlyNavigation.Inverse")>]
static member FindInverse : Microsoft.EntityFrameworkCore.Metadata.INavigation -> Microsoft.EntityFrameworkCore.Metadata.INavigation
<Extension()>
Public Function FindInverse (navigation As INavigation) As INavigation

參數

navigation
INavigation

要尋找反轉的導覽屬性。

傳回

反轉導覽,如果未 null 定義則為 。

屬性

適用於