Compartilhar via


RuntimeEntityType.IReadOnlyEntityType.FindDeclaredNavigation(String) Método

Definição

Obtém uma propriedade de navegação no tipo de entidade fornecido. Não retorna propriedades de navegação definidas em um tipo base. Retorna null se nenhuma propriedade de navegação for encontrada.

[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IReadOnlyNavigation? IReadOnlyEntityType.FindDeclaredNavigation (string name);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IReadOnlyNavigation IReadOnlyEntityType.FindDeclaredNavigation (string name);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType.FindDeclaredNavigation : string -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyNavigation
override this.Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType.FindDeclaredNavigation : string -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyNavigation
Function FindDeclaredNavigation (name As String) As IReadOnlyNavigation Implements IReadOnlyEntityType.FindDeclaredNavigation

Parâmetros

name
String

O nome da propriedade de navegação na classe de entidade.

Retornos

A propriedade de navegação ou null se nenhuma for encontrada.

Implementações

Atributos

Aplica-se a