Interface IReadOnlySkipNavigation
- 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 interface IReadOnlySkipNavigation : IReadOnlyNavigationBase, IReadOnlyPropertyBase, IReadOnlyAnnotatable
- Inherited Members
- Extension Methods
Remarks
See Modeling entity types and relationships for more information and examples.
Properties
ForeignKey
Gets the foreign key to the join type.
IReadOnlyForeignKey? ForeignKey { get; }
Property Value
Inverse
Gets the inverse skip navigation.
IReadOnlySkipNavigation Inverse { get; }
Property Value
IsOnDependent
Gets a value indicating whether the navigation property is defined on the dependent side of the underlying foreign key.
bool IsOnDependent { get; }
Property Value
JoinEntityType
Gets the join type used by the foreign key.
IReadOnlyEntityType? JoinEntityType { get; }
Property Value
Methods
ToDebugString(MetadataDebugStringOptions, int)
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.
string ToDebugString(MetadataDebugStringOptions options = MetadataDebugStringOptions.ShortDefault, int indent = 0)
Parameters
options
MetadataDebugStringOptionsOptions for generating the string.
indent
intThe number of indent spaces to use before each new line.
Returns
- string
A human-readable representation.