IMutableNavigation.SetInverse Method

Definition

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