Sdílet prostřednictvím


IEntityType.FindProperties(IReadOnlyList<String>) Metoda

Definice

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

public virtual System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty>? FindProperties (System.Collections.Generic.IReadOnlyList<string> propertyNames);
abstract member FindProperties : System.Collections.Generic.IReadOnlyList<string> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty>
override this.FindProperties : System.Collections.Generic.IReadOnlyList<string> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty>
Public Overridable Function FindProperties (propertyNames As IReadOnlyList(Of String)) As IReadOnlyList(Of IProperty)

Parametry

propertyNames
IReadOnlyList<String>

Názvy vlastností.

Návraty

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

Implementuje

Poznámky

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

Platí pro