INavigation INavigation Interface

Definition

Represents a navigation property which can be used to navigate a relationship.

public interface INavigation : IPropertyBase, IAnnotatable
Public Interface INavigation
    Inherits IPropertyBase

Inherited Members

Microsoft.EntityFrameworkCore.Metadata.IPropertyBase

Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable

Item[System.String]Item(System.String)
FindAnnotation(System.String)FindAnnotation(System.String)

Properties

DeclaringEntityType DeclaringEntityType

Gets the entity type that this property belongs to.

IEntityType DeclaringEntityType { get; }
ReadOnly Property DeclaringEntityType As IEntityType

ForeignKey ForeignKey

Gets the foreign key that defines the relationship this navigation property will navigate.

IForeignKey ForeignKey { get; }
ReadOnly Property ForeignKey As IForeignKey