EntityTypeExtensions.FindDefiningNavigation(IEntityType) Method

Definition

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

Parameters

entityType
IEntityType

The entity type.

Returns

The defining navigation if one exists or null otherwise.

Attributes

Applies to