MutableNavigationExtensions MutableNavigationExtensions Class

Extension methods for IMutableNavigation.

Syntax

Declaration

public static class MutableNavigationExtensionsPublic Module MutableNavigationExtensions

Inheritance Hierarchy

  • System.Object
    System.Object
  • MutableNavigationExtensions
    MutableNavigationExtensions

Inherited Members

ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Methods summary

Gets the navigation property on the other end of the relationship. Returns null if there is no navigation property defined on the other end of the relationship.

Gets the entity type that a given navigation property will hold an instance of (or hold instances of if it is a collection navigation).

Methods

  • FindInverse(IMutableNavigation)
    FindInverse(IMutableNavigation)

    Gets the navigation property on the other end of the relationship. Returns null if there is no navigation property defined on the other end of the relationship.

    public static IMutableNavigation FindInverse(this IMutableNavigation navigation)<ExtensionAttribute>
    Public Shared Function FindInverse(navigation As IMutableNavigation) As IMutableNavigation

    Parameters

    Returns

  • GetTargetType(IMutableNavigation)
    GetTargetType(IMutableNavigation)

    Gets the entity type that a given navigation property will hold an instance of (or hold instances of if it is a collection navigation).

    public static IMutableEntityType GetTargetType(this IMutableNavigation navigation)<ExtensionAttribute>
    Public Shared Function GetTargetType(navigation As IMutableNavigation) As IMutableEntityType

    Parameters

    Returns

Details

Assembly

Microsoft.EntityFrameworkCore.dll