IMutableNavigation.SetInverse 方法

定义

重载

SetInverse(MemberInfo)

设置反向导航。

SetInverse(String)

设置反向导航。

SetInverse(MemberInfo)

Source:
IMutableNavigation.cs
Source:
IMutableNavigation.cs
Source:
IMutableNavigation.cs
Source:
IMutableNavigation.cs
Source:
IMutableNavigation.cs

设置反向导航。

public Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation SetInverse (System.Reflection.MemberInfo inverse);
public Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation? SetInverse (System.Reflection.MemberInfo? inverse);
abstract member SetInverse : System.Reflection.MemberInfo -> Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation
Public Function SetInverse (inverse As MemberInfo) As IMutableNavigation

参数

inverse
MemberInfo

反导航属性。 传递 null 将导致未定义反向导航属性。

返回

反向导航。

适用于

SetInverse(String)

Source:
IMutableNavigation.cs
Source:
IMutableNavigation.cs
Source:
IMutableNavigation.cs
Source:
IMutableNavigation.cs
Source:
IMutableNavigation.cs

设置反向导航。

public Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation SetInverse (string inverseName);
public Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation? SetInverse (string? inverseName);
abstract member SetInverse : string -> Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation
Public Function SetInverse (inverseName As String) As IMutableNavigation

参数

inverseName
String

反向导航属性的名称。 传递 null 将导致未定义反向导航属性。

返回

反向导航。

适用于