Navigation Navigation Class

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Syntax

Declaration

public class Navigation : PropertyBase, IMutableNavigation, INavigation, IMutablePropertyBase, IPropertyBase, IMutableAnnotatable, IAnnotatablePublic Class Navigation
    Inherits PropertyBase
    Implements IMutableNavigation, INavigation, IMutablePropertyBase, IPropertyBase, IMutableAnnotatable, IAnnotatable

Inheritance Hierarchy

Inherited Members

Name,
Name,
IsShadowProperty,
IsShadowProperty,
PropertyInfo,
PropertyInfo,
FieldInfo,
FieldInfo,
SetField(String, ConfigurationSource),
SetField(String, ConfigurationSource),
SetFieldInfo(FieldInfo, ConfigurationSource, Boolean),
SetFieldInfo(FieldInfo, ConfigurationSource, Boolean),
OnFieldInfoSet(FieldInfo),
OnFieldInfoSet(FieldInfo),
GetFieldInfoConfigurationSource(),
GetFieldInfoConfigurationSource(),
MemberInfo,
MemberInfo,
Getter,
Getter,
Setter,
Setter,
Accessors,
Accessors,
IPropertyBase.DeclaringEntityType,
GetAnnotations(),
GetAnnotations(),
AddAnnotation(String, Object, ConfigurationSource),
AddAnnotation(String, Object, ConfigurationSource),
AddAnnotation(String, Object),
AddAnnotation(String, Object),
SetAnnotation(String, Object, ConfigurationSource),
SetAnnotation(String, Object, ConfigurationSource),
GetOrAddAnnotation(String, Object),
GetOrAddAnnotation(String, Object),
FindAnnotation(String),
FindAnnotation(String),
RemoveAnnotation(String),
RemoveAnnotation(String),
CreateAnnotation(String, Object),
CreateAnnotation(String, Object),
AddAnnotation(String, Annotation),
AddAnnotation(String, Annotation),
SetAnnotation(String, Annotation),
SetAnnotation(String, Annotation),
OnAnnotationSet(String, Annotation, Annotation),
OnAnnotationSet(String, Annotation, Annotation),
Item[String],
Item(String),
IAnnotatable.GetAnnotations(),
Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable.GetAnnotations(),
IAnnotatable.FindAnnotation(String),
Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable.FindAnnotation(String),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Constructors summary

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Properties summary

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Methods summary

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Explicit Interface Implementations summary

Constructors

  • Navigation(String, PropertyInfo, FieldInfo, ForeignKey)
    Navigation(String, PropertyInfo, FieldInfo, ForeignKey)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public Navigation(string name, PropertyInfo propertyInfo, FieldInfo fieldInfo, ForeignKey foreignKey)Public Sub New(name As String, propertyInfo As PropertyInfo, fieldInfo As FieldInfo, foreignKey As ForeignKey)

    Parameters

    • name
      System.String
      System.String
    • propertyInfo
      System.Reflection.PropertyInfo
      System.Reflection.PropertyInfo
    • fieldInfo
      System.Reflection.FieldInfo
      System.Reflection.FieldInfo
    • foreignKey

Properties

  • ClrType
    ClrType

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public override Type ClrType { get; }Public Overrides ReadOnly Property ClrType As Type

    Property Value

    • System.Type
      System.Type
  • CollectionAccessor
    CollectionAccessor

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual IClrCollectionAccessor CollectionAccessor { get; }Public Overridable ReadOnly Property CollectionAccessor As IClrCollectionAccessor

    Property Value

  • DebugView
    DebugView

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual DebugView<Navigation> DebugView { get; }Public Overridable ReadOnly Property DebugView As DebugView(Of Navigation)

    Property Value

  • DeclaringEntityType
    DeclaringEntityType

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual EntityType DeclaringEntityType { get; }Public Overridable ReadOnly Property DeclaringEntityType As EntityType

    Property Value

  • DeclaringType
    DeclaringType

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual EntityType DeclaringType { get; }Public Overridable ReadOnly Property DeclaringType As EntityType

    Property Value

  • ForeignKey
    ForeignKey

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual ForeignKey ForeignKey { get; }Public Overridable ReadOnly Property ForeignKey As ForeignKey

    Property Value

  • PropertyIndexes
    PropertyIndexes

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual PropertyIndexes PropertyIndexes { get; set; }Public Overridable Property PropertyIndexes As PropertyIndexes

    Property Value

Methods

  • FindInverse()
    FindInverse()

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual Navigation FindInverse()Public Overridable Function FindInverse As Navigation

    Returns

  • GetClrProperty(String, EntityType, EntityType, Boolean)
    GetClrProperty(String, EntityType, EntityType, Boolean)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public static PropertyInfo GetClrProperty(string navigationName, EntityType sourceType, EntityType targetType, bool shouldThrow)Public Shared Function GetClrProperty(navigationName As String, sourceType As EntityType, targetType As EntityType, shouldThrow As Boolean) As PropertyInfo

    Parameters

    Returns

    • System.Reflection.PropertyInfo
      System.Reflection.PropertyInfo
  • GetTargetType()
    GetTargetType()

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual EntityType GetTargetType()Public Overridable Function GetTargetType As EntityType

    Returns

  • IsCompatible(PropertyInfo, Type, Type, Nullable<Boolean>, Boolean)
    IsCompatible(PropertyInfo, Type, Type, Nullable(Of Boolean), Boolean)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public static bool IsCompatible(PropertyInfo navigationProperty, Type sourceClrType, Type targetClrType, bool ? shouldBeCollection, bool shouldThrow)Public Shared Function IsCompatible(navigationProperty As PropertyInfo, sourceClrType As Type, targetClrType As Type, shouldBeCollection As Boolean?, shouldThrow As Boolean) As Boolean

    Parameters

    • navigationProperty
      System.Reflection.PropertyInfo
      System.Reflection.PropertyInfo
    • sourceClrType
      System.Type
      System.Type
    • targetClrType
      System.Type
      System.Type
    • shouldBeCollection
      System.Nullable<T><System.Boolean>
      System.Nullable<T>(Of System.Boolean)
    • shouldThrow
      System.Boolean
      System.Boolean

    Returns

    • System.Boolean
      System.Boolean
  • IsCompatible(String, PropertyInfo, EntityType, EntityType, Nullable<Boolean>, Boolean)
    IsCompatible(String, PropertyInfo, EntityType, EntityType, Nullable(Of Boolean), Boolean)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public static bool IsCompatible(string navigationName, PropertyInfo navigationProperty, EntityType sourceType, EntityType targetType, bool ? shouldBeCollection, bool shouldThrow)Public Shared Function IsCompatible(navigationName As String, navigationProperty As PropertyInfo, sourceType As EntityType, targetType As EntityType, shouldBeCollection As Boolean?, shouldThrow As Boolean) As Boolean

    Parameters

    • navigationName
      System.String
      System.String
    • navigationProperty
      System.Reflection.PropertyInfo
      System.Reflection.PropertyInfo
    • sourceType
    • targetType
    • shouldBeCollection
      System.Nullable<T><System.Boolean>
      System.Nullable<T>(Of System.Boolean)
    • shouldThrow
      System.Boolean
      System.Boolean

    Returns

    • System.Boolean
      System.Boolean
  • PropertyMetadataChanged()
    PropertyMetadataChanged()

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    protected override void PropertyMetadataChanged()Protected Overrides Sub PropertyMetadataChanged
  • ToString()
    ToString()

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public override string ToString()Public Overrides Function ToString As String

    Returns

    • System.String
      System.String

Explicit Interface Implementations

  • IMutableNavigation.DeclaringEntityType
    Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation.DeclaringEntityType
    IMutableEntityType IMutableNavigation.DeclaringEntityType { get; }ReadOnly WriteOnly Property Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation.DeclaringEntityType As IMutableEntityType Implements IMutableNavigation.DeclaringEntityType

    Returns

  • IMutableNavigation.ForeignKey
    Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation.ForeignKey
    IMutableForeignKey IMutableNavigation.ForeignKey { get; }ReadOnly WriteOnly Property Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation.ForeignKey As IMutableForeignKey Implements IMutableNavigation.ForeignKey

    Returns

  • IMutablePropertyBase.DeclaringType
    Microsoft.EntityFrameworkCore.Metadata.IMutablePropertyBase.DeclaringType
    IMutableTypeBase IMutablePropertyBase.DeclaringType { get; }ReadOnly WriteOnly Property Microsoft.EntityFrameworkCore.Metadata.IMutablePropertyBase.DeclaringType As IMutableTypeBase Implements IMutablePropertyBase.DeclaringType

    Returns

  • INavigation.DeclaringEntityType
    Microsoft.EntityFrameworkCore.Metadata.INavigation.DeclaringEntityType
    IEntityType INavigation.DeclaringEntityType { get; }ReadOnly WriteOnly Property Microsoft.EntityFrameworkCore.Metadata.INavigation.DeclaringEntityType As IEntityType Implements INavigation.DeclaringEntityType

    Returns

  • INavigation.ForeignKey
    Microsoft.EntityFrameworkCore.Metadata.INavigation.ForeignKey
    IForeignKey INavigation.ForeignKey { get; }ReadOnly WriteOnly Property Microsoft.EntityFrameworkCore.Metadata.INavigation.ForeignKey As IForeignKey Implements INavigation.ForeignKey

    Returns

  • IPropertyBase.DeclaringType
    Microsoft.EntityFrameworkCore.Metadata.IPropertyBase.DeclaringType
    ITypeBase IPropertyBase.DeclaringType { get; }ReadOnly WriteOnly Property Microsoft.EntityFrameworkCore.Metadata.IPropertyBase.DeclaringType As ITypeBase Implements IPropertyBase.DeclaringType

    Returns

Details

Assembly

Microsoft.EntityFrameworkCore.dll