EntityTypeExtensions.GetNavigations(IEntityType) Methode

Definition

Achtung

Use IReadOnlyEntityType.GetNavigations

Ruft alle Navigationseigenschaften für den angegebenen Entitätstyp ab.

public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.INavigation> GetNavigations (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
[System.Obsolete("Use IReadOnlyEntityType.GetNavigations")]
public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.INavigation> GetNavigations (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
static member GetNavigations : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> seq<Microsoft.EntityFrameworkCore.Metadata.INavigation>
[<System.Obsolete("Use IReadOnlyEntityType.GetNavigations")>]
static member GetNavigations : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> seq<Microsoft.EntityFrameworkCore.Metadata.INavigation>
<Extension()>
Public Function GetNavigations (entityType As IEntityType) As IEnumerable(Of INavigation)

Parameter

entityType
IEntityType

Der Entitätstyp.

Gibt zurück

Alle Navigationseigenschaften für den angegebenen Entitätstyp.

Attribute

Gilt für: