MutableEntityTypeExtensions.FindDefiningNavigation(IMutableEntityType) 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.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