MutableForeignKeyExtensions.GetNavigation(IMutableForeignKey, 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 static Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation GetNavigation (this Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey foreignKey, bool pointsToPrincipal);
static member GetNavigation : Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey * bool -> Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation
<Extension()>
Public Function GetNavigation (foreignKey As IMutableForeignKey, pointsToPrincipal As Boolean) As IMutableNavigation
Parameters
- foreignKey
- IMutableForeignKey
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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework