IConventionForeignKey.GetNavigation(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a navigation associated with this foreign key.
public virtual Microsoft.EntityFrameworkCore.Metadata.IConventionNavigation? GetNavigation (bool pointsToPrincipal);
abstract member GetNavigation : bool -> Microsoft.EntityFrameworkCore.Metadata.IConventionNavigation
override this.GetNavigation : bool -> Microsoft.EntityFrameworkCore.Metadata.IConventionNavigation
Public Overridable Function GetNavigation (pointsToPrincipal As Boolean) As IConventionNavigation
Parameters
- pointsToPrincipal
- Boolean
A value indicating whether the navigation is on the dependent type pointing to the principal type.
Returns
A navigation associated with this foreign key or null
.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework