Share via


MutableEntityTypeExtensions.FindProperties Método

Definição

Localiza propriedades correspondentes no tipo de entidade fornecido. Retorna null se alguma propriedade não for encontrada.

Essa API localiza apenas propriedades escalares e não encontra propriedades de navegação.

public static System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IMutableProperty> FindProperties (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType, System.Collections.Generic.IReadOnlyList<string> propertyNames);
static member FindProperties : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * System.Collections.Generic.IReadOnlyList<string> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IMutableProperty>
<Extension()>
Public Function FindProperties (entityType As IMutableEntityType, propertyNames As IReadOnlyList(Of String)) As IReadOnlyList(Of IMutableProperty)

Parâmetros

entityType
IMutableEntityType

O tipo de entidade.

propertyNames
IReadOnlyList<String>

Os nomes de propriedade.

Retornos

As propriedades ou null se alguma propriedade não for encontrada.

Aplica-se a