Compartilhar via


RuntimeEntityType.IReadOnlyEntityType.FindProperty(String) Método

Definição

Obtém a propriedade com um determinado nome. Retorna null se nenhuma propriedade com o nome fornecido for definida.

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

Parâmetros

name
String

O nome da propriedade.

Retornos

A propriedade ou null se nenhuma for encontrada.

Implementações

Atributos

Aplica-se a