Sdílet prostřednictvím


MutableModelExtensions.FindLeastDerivedEntityTypes Metoda

Definice

Vrátí typy entit odpovídající nejméně odvozených typů z dané.

public static System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType> FindLeastDerivedEntityTypes (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, Type type, Func<Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType,bool> condition = default);
static member FindLeastDerivedEntityTypes : Microsoft.EntityFrameworkCore.Metadata.IMutableModel * Type * Func<Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType, bool> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType>
<Extension()>
Public Function FindLeastDerivedEntityTypes (model As IMutableModel, type As Type, Optional condition As Func(Of IMutableEntityType, Boolean) = Nothing) As IReadOnlyList(Of IMutableEntityType)

Parametry

model
IMutableModel

Model, ve který se mají najít typy entit.

type
Type

Základní typ.

condition
Func<IMutableEntityType,Boolean>

Volitelná podmínka pro filtrování typů entit.

Návraty

Seznam typů entit odpovídajících nejméně odvozených typů z daného.

Platí pro