Compartir a través de


EntityTypeExtensions.GetNavigations(IEntityType) Método

Definición

Precaución

Use IReadOnlyEntityType.GetNavigations

Obtiene todas las propiedades de navegación en el tipo de entidad especificado.

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)

Parámetros

entityType
IEntityType

El tipo de entidad.

Devoluciones

Todas las propiedades de navegación del tipo de entidad especificado.

Atributos

Se aplica a