ISkipNavigation Interface

Definition

Represents a navigation property that is part of a relationship that is forwarded through a third entity type.

public interface ISkipNavigation : Microsoft.EntityFrameworkCore.Metadata.INavigationBase
type ISkipNavigation = interface
    interface INavigationBase
    interface IPropertyBase
    interface IAnnotatable
Public Interface ISkipNavigation
Implements INavigationBase
Derived
Implements

Properties

ClrType

Gets the type of value that this property-like object holds.

(Inherited from IPropertyBase)
DeclaringEntityType
Obsolete.

Gets the entity type that this property belongs to.

(Inherited from IPropertyBase)
DeclaringType

Gets the type that this property-like object belongs to.

(Inherited from IPropertyBase)
FieldInfo

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

(Inherited from IPropertyBase)
ForeignKey

Gets the foreign key to the join type.

Inverse

Gets the inverse skip navigation.

IsCollection

Gets a value indicating whether the navigation property is a collection property.

(Inherited from INavigationBase)
IsEagerLoaded

Gets a value indicating whether this navigation should be eager loaded by default.

(Inherited from INavigationBase)
IsOnDependent

Gets a value indicating whether the navigation property is defined on the dependent side of the underlying foreign key.

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]

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

(Inherited from IAnnotatable)
JoinEntityType

Gets the join type used by the foreign key.

Name

Gets the name of this property-like object.

(Inherited from IPropertyBase)
PropertyInfo

Gets the PropertyInfo for the underlying CLR property for this property-like object. This may be null for shadow properties or if mapped directly to a field.

(Inherited from IPropertyBase)
TargetEntityType

Gets the entity type that this navigation property will hold an instance(s) of.

(Inherited from INavigationBase)

Methods

FindAnnotation(String)

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

(Inherited from IAnnotatable)
GetAnnotations()

Gets all annotations on the current object.

(Inherited from IAnnotatable)
GetCollectionAccessor()

Gets the IClrCollectionAccessor for this navigation property, if it's a collection navigation.

(Inherited from INavigationBase)
GetPropertyAccessMode()

Gets the PropertyAccessMode being used for this property. null indicates that the default property access mode is being used.

(Inherited from IPropertyBase)

Explicit Interface Implementations

INavigationBase.GetCollectionAccessor()

Gets the IClrCollectionAccessor for this navigation property, if it's a collection navigation.

INavigationBase.Inverse

Gets the inverse navigation.

IPropertyBase.GetPropertyAccessMode()

Gets the PropertyAccessMode being used for this property. null indicates that the default property access mode is being used.

(Inherited from INavigationBase)

Extension Methods

AnnotationsToDebugString(IAnnotatable, Int32)

Gets the debug string for all annotations declared on the object.

GetAnnotation(IAnnotatable, String)

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

SetIsLoadedWhenNoTracking(INavigationBase, Object)

Calls SetLoaded(Object, String, Boolean) for a INavigationBase to mark it as loaded when a no-tracking query has eagerly loaded this relationship.

GetCurrentValueComparer(IPropertyBase)

Gets a IComparer<T> for comparing values in tracked IUpdateEntry entries.

GetFieldName(IPropertyBase)

Gets the name of the backing field for this property, or null if the backing field is not known.

GetGetter(IPropertyBase)

Gets a IClrPropertyGetter for reading the value of this property.

Note that it is an error to call this method for a shadow property (IsShadowProperty(IPropertyBase)) since such a property has no associated MemberInfo.

GetIndex(IPropertyBase)

Gets the property index for this property.

GetMemberInfo(IPropertyBase, Boolean, Boolean)

Gets the PropertyInfo or FieldInfo that should be used to get or set a value for the given property.

Note that it is an error to call this method for a shadow property (IsShadowProperty(IPropertyBase)) since such a property has no associated MemberInfo.

IsIndexerProperty(IPropertyBase)

Gets a value indicating whether this is an indexer property. An indexer property is one that is accessed through an indexer on the entity class.

IsShadowProperty(IPropertyBase)

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.

ToDebugString(ISkipNavigation, MetadataDebugStringOptions, Int32)

Creates a human-readable representation of the given metadata.

Warning: Do not rely on the format of the returned string. It is designed for debugging only and may change arbitrarily between releases.

Applies to