IMutableModel.FindLeastDerivedEntityTypes Метод

Определение

Возвращает типы сущностей, соответствующие наименее производным типам из заданного типа.

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)

Параметры

type
Type

Базовый тип.

condition
Func<IReadOnlyEntityType,Boolean>

Необязательное условие для фильтрации типов сущностей.

Возвращаемое значение

Список типов сущностей, соответствующих наименее производным типам из заданного типа.

Применяется к