Compartilhar via


RuntimeEntityType.IReadOnlyEntityType.FindDeclaredProperty(String) Método

Definição

Localiza uma propriedade declarada no tipo com o nome fornecido. Não retorna propriedades definidas em um tipo base.

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

Parâmetros

name
String

O nome da propriedade.

Retornos

A propriedade ou null se nenhuma for encontrada.

Implementações

Atributos

Aplica-se a