Udostępnij za pośrednictwem


IConventionModel.FindLeastDerivedEntityTypes Metoda

Definicja

Zwraca typy jednostek odpowiadające najmniej pochodnym typom z danego.

public virtual System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType> FindLeastDerivedEntityTypes (Type type, Func<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType,bool>? condition = default);
abstract member FindLeastDerivedEntityTypes : Type * Func<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType, bool> -> seq<Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType>
override this.FindLeastDerivedEntityTypes : Type * Func<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType, bool> -> seq<Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType>
Public Overridable Function FindLeastDerivedEntityTypes (type As Type, Optional condition As Func(Of IReadOnlyEntityType, Boolean) = Nothing) As IEnumerable(Of IConventionEntityType)

Parametry

type
Type

Typ podstawowy.

condition
Func<IReadOnlyEntityType,Boolean>

Opcjonalny warunek filtrowania typów jednostek.

Zwraca

Lista typów jednostek odpowiadających najmniej pochodnym typom z danego typu.

Dotyczy