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

Properties

ClrType ClrType

Gets the type of value that this property holds.

(Inherited from IPropertyBase)
DeclaringEntityType DeclaringEntityType

Gets the entity type that this property belongs to.

DeclaringType DeclaringType

Gets the type that this property belongs to.

(Inherited from IPropertyBase)
FieldInfo FieldInfo

Gets the FieldInfo for the underlying CLR field that this object represents. This may be null for shadow properties or if the backing field for the property is not known.

(Inherited from IPropertyBase)
ForeignKey ForeignKey

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

IsShadowProperty IsShadowProperty

Gets a value indicating whether this is a shadow property. A shadow property is one that does not have a corresponding property in the entity class. The current value for the property is stored in the ChangeTracker rather than being stored in instances of the entity class.

(Inherited from IPropertyBase)
Item[String] Item(String)

Gets the value annotation with the given name, returning null if it does not exist.

(Inherited from IAnnotatable)
Name Name

Gets the name of the property.

(Inherited from IPropertyBase)
PropertyInfo PropertyInfo

Gets the PropertyInfo for the underlying CLR property that this object represents. This may be null for shadow properties or properties mapped directly to fields.

(Inherited from IPropertyBase)

Methods

FindAnnotation(String) FindAnnotation(String)

Gets the annotation with the given name, returning null if it does not exist.

(Inherited from IAnnotatable)
GetAnnotations() GetAnnotations()

Gets all annotations on the current object.

(Inherited from IAnnotatable)

Extension Methods

Microsoft.EntityFrameworkCore.NavigationExtensions.IsDependentToPrincipal() Microsoft.EntityFrameworkCore.NavigationExtensions.IsDependentToPrincipal()
Microsoft.EntityFrameworkCore.NavigationExtensions.IsCollection() Microsoft.EntityFrameworkCore.NavigationExtensions.IsCollection()
Microsoft.EntityFrameworkCore.NavigationExtensions.FindInverse() Microsoft.EntityFrameworkCore.NavigationExtensions.FindInverse()
Microsoft.EntityFrameworkCore.NavigationExtensions.GetTargetType() Microsoft.EntityFrameworkCore.NavigationExtensions.GetTargetType()
Microsoft.EntityFrameworkCore.PropertyBaseExtensions.GetField() Microsoft.EntityFrameworkCore.PropertyBaseExtensions.GetField()
Microsoft.EntityFrameworkCore.PropertyBaseExtensions.GetPropertyAccessMode() Microsoft.EntityFrameworkCore.PropertyBaseExtensions.GetPropertyAccessMode()
Microsoft.EntityFrameworkCore.Infrastructure.AnnotatableExtensions.GetAnnotation(System.String) Microsoft.EntityFrameworkCore.Infrastructure.AnnotatableExtensions.GetAnnotation(System.String)
Microsoft.EntityFrameworkCore.Metadata.Internal.AnnotatableExtensions.AnnotationsToDebugString(System.String) Microsoft.EntityFrameworkCore.Metadata.Internal.AnnotatableExtensions.AnnotationsToDebugString(System.String)
Microsoft.EntityFrameworkCore.Metadata.Internal.NavigationExtensions.GetCollectionAccessor() Microsoft.EntityFrameworkCore.Metadata.Internal.NavigationExtensions.GetCollectionAccessor()
Microsoft.EntityFrameworkCore.Metadata.Internal.NavigationExtensions.ToDebugString(System.Boolean, System.String) Microsoft.EntityFrameworkCore.Metadata.Internal.NavigationExtensions.ToDebugString(System.Boolean, System.String)
Microsoft.EntityFrameworkCore.Metadata.Internal.NavigationExtensions.AsNavigation(System.String) Microsoft.EntityFrameworkCore.Metadata.Internal.NavigationExtensions.AsNavigation(System.String)
Microsoft.EntityFrameworkCore.Metadata.Internal.PropertyBaseExtensions.GetShadowIndex() Microsoft.EntityFrameworkCore.Metadata.Internal.PropertyBaseExtensions.GetShadowIndex()
Microsoft.EntityFrameworkCore.Metadata.Internal.PropertyBaseExtensions.GetStoreGeneratedIndex() Microsoft.EntityFrameworkCore.Metadata.Internal.PropertyBaseExtensions.GetStoreGeneratedIndex()
Microsoft.EntityFrameworkCore.Metadata.Internal.PropertyBaseExtensions.GetRelationshipIndex() Microsoft.EntityFrameworkCore.Metadata.Internal.PropertyBaseExtensions.GetRelationshipIndex()
Microsoft.EntityFrameworkCore.Metadata.Internal.PropertyBaseExtensions.GetIndex() Microsoft.EntityFrameworkCore.Metadata.Internal.PropertyBaseExtensions.GetIndex()
Microsoft.EntityFrameworkCore.Metadata.Internal.PropertyBaseExtensions.GetPropertyIndexes() Microsoft.EntityFrameworkCore.Metadata.Internal.PropertyBaseExtensions.GetPropertyIndexes()
Microsoft.EntityFrameworkCore.Metadata.Internal.PropertyBaseExtensions.TrySetIndexes(PropertyIndexes) Microsoft.EntityFrameworkCore.Metadata.Internal.PropertyBaseExtensions.TrySetIndexes(PropertyIndexes)
Microsoft.EntityFrameworkCore.Metadata.Internal.PropertyBaseExtensions.GetPropertyAccessors() Microsoft.EntityFrameworkCore.Metadata.Internal.PropertyBaseExtensions.GetPropertyAccessors()
Microsoft.EntityFrameworkCore.Metadata.Internal.PropertyBaseExtensions.GetGetter() Microsoft.EntityFrameworkCore.Metadata.Internal.PropertyBaseExtensions.GetGetter()
Microsoft.EntityFrameworkCore.Metadata.Internal.PropertyBaseExtensions.GetSetter() Microsoft.EntityFrameworkCore.Metadata.Internal.PropertyBaseExtensions.GetSetter()
Microsoft.EntityFrameworkCore.Metadata.Internal.PropertyBaseExtensions.GetMemberInfo(System.Boolean, System.Boolean) Microsoft.EntityFrameworkCore.Metadata.Internal.PropertyBaseExtensions.GetMemberInfo(System.Boolean, System.Boolean)
Microsoft.EntityFrameworkCore.Metadata.Internal.PropertyBaseExtensions.TryGetMemberInfo(System.Boolean, System.Boolean, System.Reflection.MemberInfo, System.String) Microsoft.EntityFrameworkCore.Metadata.Internal.PropertyBaseExtensions.TryGetMemberInfo(System.Boolean, System.Boolean, System.Reflection.MemberInfo, System.String)
Microsoft.EntityFrameworkCore.Metadata.Internal.PropertyBaseExtensions.AsPropertyBase(System.String) Microsoft.EntityFrameworkCore.Metadata.Internal.PropertyBaseExtensions.AsPropertyBase(System.String)