Share via


MutableEntityTypeExtensions.FindProperties Méthode

Définition

Recherche les propriétés correspondantes sur le type d’entité donné. Retourne null si une propriété est introuvable.

Cette API recherche uniquement les propriétés scalaires et ne trouve pas de propriétés de navigation.

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)

Paramètres

entityType
IMutableEntityType

Type d'entité.

propertyNames
IReadOnlyList<String>

Nom des propriétés.

Retours

Les propriétés, ou null si une propriété est introuvable.

S’applique à