EntityTypeExtensions.FindDefiningNavigation(IEntityType) Méthode

Définition

Attention

Entity types with defining navigations have been replaced by shared-type entity types

Retourne la navigation de définition, le cas null échéant.

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

Paramètres

entityType
IEntityType

Type d'entité.

Retours

Définition de la navigation, si elle existe ou null non.

Attributs

S’applique à