Class RuntimeSkipNavigation
- Namespace
- Microsoft.EntityFrameworkCore.Metadata
- Assembly
- Microsoft.EntityFrameworkCore.dll
Represents a navigation property that is part of a relationship that is forwarded through a third entity type.
public class RuntimeSkipNavigation : RuntimePropertyBase, IRuntimePropertyBase, IRuntimeSkipNavigation, ISkipNavigation, IReadOnlySkipNavigation, INavigationBase, IReadOnlyNavigationBase, IPropertyBase, IReadOnlyPropertyBase, IAnnotatable, IReadOnlyAnnotatable
- Inheritance
-
RuntimeSkipNavigation
- Implements
- Inherited Members
- Extension Methods
Remarks
See Modeling entity types and relationships for more information and examples.
Constructors
RuntimeSkipNavigation(string, Type, PropertyInfo?, FieldInfo?, RuntimeEntityType, RuntimeEntityType, RuntimeForeignKey, bool, bool, PropertyAccessMode, bool, bool)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
[EntityFrameworkInternal]
public RuntimeSkipNavigation(string name, Type clrType, PropertyInfo? propertyInfo, FieldInfo? fieldInfo, RuntimeEntityType declaringEntityType, RuntimeEntityType targetEntityType, RuntimeForeignKey foreignKey, bool collection, bool onDependent, PropertyAccessMode propertyAccessMode, bool eagerLoaded, bool lazyLoadingEnabled)
Parameters
name
stringclrType
TypepropertyInfo
PropertyInfofieldInfo
FieldInfodeclaringEntityType
RuntimeEntityTypetargetEntityType
RuntimeEntityTypeforeignKey
RuntimeForeignKeycollection
boolonDependent
boolpropertyAccessMode
PropertyAccessModeeagerLoaded
boollazyLoadingEnabled
bool
Properties
ClrType
Gets the type of value that this navigation holds.
protected override Type ClrType { get; }
Property Value
DebugView
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
[EntityFrameworkInternal]
public virtual DebugView DebugView { get; }
Property Value
DeclaringEntityType
Gets the type that this property belongs to.
public virtual RuntimeEntityType DeclaringEntityType { get; }
Property Value
DeclaringType
public override RuntimeTypeBase DeclaringType { get; }
Property Value
Inverse
Gets or sets the inverse navigation.
public virtual RuntimeSkipNavigation? Inverse { get; set; }
Property Value
Sentinel
public override object? Sentinel { get; }
Property Value
TargetEntityType
Gets the entity type that this navigation property will hold an instance(s) of.
public virtual RuntimeEntityType TargetEntityType { get; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.