Sdílet prostřednictvím


IConventionEntityType.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.IConventionProperty>? FindProperties (System.Collections.Generic.IReadOnlyList<string> propertyNames);
abstract member FindProperties : System.Collections.Generic.IReadOnlyList<string> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty>
override this.FindProperties : System.Collections.Generic.IReadOnlyList<string> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty>
Public Overridable Function FindProperties (propertyNames As IReadOnlyList(Of String)) As IReadOnlyList(Of IConventionProperty)

Parametry

propertyNames
IReadOnlyList<String>

Názvy vlastností.

Návraty

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

Poznámky

Toto rozhraní API vyhledá pouze skalární vlastnosti a nenalezne vlastnosti navigace ani služby.

Platí pro