MutableEntityTypeExtensions.FindDefiningNavigation(IMutableEntityType) 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.IMutableNavigation FindDefiningNavigation (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType);
[System.Obsolete("Entity types with defining navigations have been replaced by shared-type entity types")]
public static Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation? FindDefiningNavigation (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType);
static member FindDefiningNavigation : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType -> Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation
[<System.Obsolete("Entity types with defining navigations have been replaced by shared-type entity types")>]
static member FindDefiningNavigation : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType -> Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation
<Extension()>
Public Function FindDefiningNavigation (entityType As IMutableEntityType) As IMutableNavigation
Parameters
- entityType
- IMutableEntityType
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