ConventionForeignKeyExtensions.GetNavigation 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 static Microsoft.EntityFrameworkCore.Metadata.IConventionNavigation GetNavigation (this Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey foreignKey, bool pointsToPrincipal);
static member GetNavigation : Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey * bool -> Microsoft.EntityFrameworkCore.Metadata.IConventionNavigation
<Extension()>
Public Function GetNavigation (foreignKey As IConventionForeignKey, pointsToPrincipal As Boolean) As IConventionNavigation
Parameters
- foreignKey
- IConventionForeignKey
The foreign key.
- 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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework