INavigation INavigation Interface

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

Syntax

Declaration

public interface INavigation : IPropertyBase, IAnnotatablePublic Interface INavigation
    Inherits IPropertyBase

Inherited Members

Name,
Name,
DeclaringType,
DeclaringType,
ClrType,
ClrType,
PropertyInfo,
PropertyInfo,
FieldInfo,
FieldInfo,
IsShadowProperty,
IsShadowProperty,
Item[String],
Item(String),
FindAnnotation(String),
FindAnnotation(String),
GetAnnotations()
GetAnnotations()

Properties summary

Gets the entity type that this property belongs to.

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

Properties

  • DeclaringEntityType
    DeclaringEntityType

    Gets the entity type that this property belongs to.

    IEntityType DeclaringEntityType { get; }ReadOnly Property DeclaringEntityType As IEntityType

    Property Value

  • ForeignKey
    ForeignKey

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

    IForeignKey ForeignKey { get; }ReadOnly Property ForeignKey As IForeignKey

    Property Value

Details

Assembly

Microsoft.EntityFrameworkCore.dll