IMutableNavigation.SetInverse Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SetInverse(MemberInfo) |
Sets the inverse navigation. |
SetInverse(String) |
Sets the inverse navigation. |
SetInverse(MemberInfo)
Sets the inverse navigation.
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
Parameters
- inverse
- MemberInfo
The inverse navigation property. Passing null
will result in there being
no inverse navigation property defined.
Returns
The inverse navigation.
Applies to
SetInverse(String)
Sets the inverse navigation.
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
Parameters
- inverseName
- String
The name of the inverse navigation property. Passing null
will result in there being
no inverse navigation property defined.
Returns
The inverse navigation.
Applies to
Entity Framework