IMutableNavigation.SetInverse 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
将导致未定义反向导航属性。
返回
反向导航。