IMutableNavigation IMutableNavigation Interface

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

This interface is used during model creation and allows the metadata to be modified. Once the model is built, INavigation represents a ready-only view of the same metadata.

Syntax

Declaration

public interface IMutableNavigation : INavigation, IMutablePropertyBase, IPropertyBase, IMutableAnnotatable, IAnnotatablePublic Interface IMutableNavigation
    Inherits INavigation, IMutablePropertyBase

Inherited Members

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

Properties summary

Gets the type that this property belongs to.

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

Properties

  • DeclaringEntityType
    DeclaringEntityType

    Gets the type that this property belongs to.

    IMutableEntityType DeclaringEntityType { get; }ReadOnly Property DeclaringEntityType As IMutableEntityType

    Property Value

  • ForeignKey
    ForeignKey

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

    IMutableForeignKey ForeignKey { get; }ReadOnly Property ForeignKey As IMutableForeignKey

    Property Value

Details

Assembly

Microsoft.EntityFrameworkCore.dll