ConventionEntityTypeExtensions.FindDefiningNavigation 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.
Caution
Entity types with defining navigations have been replaced by shared-type entity types
Returns the defining navigation if one exists or null
otherwise.
public static Microsoft.EntityFrameworkCore.Metadata.IConventionNavigation FindDefiningNavigation (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType);
[System.Obsolete("Entity types with defining navigations have been replaced by shared-type entity types")]
public static Microsoft.EntityFrameworkCore.Metadata.IConventionNavigation? FindDefiningNavigation (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType);
static member FindDefiningNavigation : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType -> Microsoft.EntityFrameworkCore.Metadata.IConventionNavigation
[<System.Obsolete("Entity types with defining navigations have been replaced by shared-type entity types")>]
static member FindDefiningNavigation : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType -> Microsoft.EntityFrameworkCore.Metadata.IConventionNavigation
<Extension()>
Public Function FindDefiningNavigation (entityType As IConventionEntityType) As IConventionNavigation
Parameters
- entityType
- IConventionEntityType
The entity type.
Returns
The defining navigation if one exists or null
otherwise.
- Attributes
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