EntityTypeExtensions.HasDefiningNavigation(IEntityType) Méthode

Définition

Attention

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

Obtient une valeur indiquant si ce type d’entité a une navigation de définition.

[System.Diagnostics.DebuggerStepThrough]
public static bool HasDefiningNavigation (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
[System.Diagnostics.DebuggerStepThrough]
[System.Obsolete("Entity types with defining navigations have been replaced by shared-type entity types")]
public static bool HasDefiningNavigation (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
[<System.Diagnostics.DebuggerStepThrough>]
static member HasDefiningNavigation : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> bool
[<System.Diagnostics.DebuggerStepThrough>]
[<System.Obsolete("Entity types with defining navigations have been replaced by shared-type entity types")>]
static member HasDefiningNavigation : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> bool
<Extension()>
Public Function HasDefiningNavigation (entityType As IEntityType) As Boolean

Paramètres

entityType
IEntityType

Type d'entité.

Retours

true si ce type d’entité a une navigation de définition.

Attributs

S’applique à