Compartir a través de


IMutableModel.FindLeastDerivedEntityTypes Método

Definición

Devuelve los tipos de entidad correspondientes a los tipos menos derivados del especificado.

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)

Parámetros

type
Type

El tipo base.

condition
Func<IReadOnlyEntityType,Boolean>

Condición opcional para filtrar tipos de entidad.

Devoluciones

Lista de tipos de entidad correspondientes a los tipos menos derivados del especificado.

Se aplica a