Share via


EntityTypeExtensions.FindProperties Metoda

Definice

Vyhledá odpovídající vlastnosti pro daný typ entity. Vrátí, null pokud nebyla nalezena nějaká vlastnost.

Toto rozhraní API vyhledá pouze skalární vlastnosti a nenalezne vlastnosti navigace.

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

Parametry

entityType
IEntityType

Typ entity.

propertyNames
IReadOnlyList<String>

Názvy vlastností.

Návraty

Vlastnosti nebo null pokud nebyla nalezena žádná vlastnost.

Platí pro