Udostępnij za pośrednictwem


IMutableModel.FindLeastDerivedEntityTypes Metoda

Definicja

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

public virtual System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType> 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.IMutableEntityType>
override this.FindLeastDerivedEntityTypes : Type * Func<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType, bool> -> seq<Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType>
Public Overridable Function FindLeastDerivedEntityTypes (type As Type, Optional condition As Func(Of IReadOnlyEntityType, Boolean) = Nothing) As IEnumerable(Of IMutableEntityType)

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