EntityTypeExtensions.GetNavigations(IEntityType) Método

Definição

Cuidado

Use IReadOnlyEntityType.GetNavigations

Obtém todas as propriedades de navegação no tipo de entidade fornecido.

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

O tipo de entidade.

Retornos

Todas as propriedades de navegação no tipo de entidade fornecido.

Atributos

Aplica-se a