MutableModelExtensions.FindLeastDerivedEntityTypes Méthode

Définition

Retourne les types d’entité correspondant aux types les moins dérivés du donné.

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)

Paramètres

model
IMutableModel

Modèle dans lequel rechercher les types d’entité.

type
Type

Type de base.

condition
Func<IMutableEntityType,Boolean>

Condition facultative pour le filtrage des types d’entités.

Retours

Liste des types d’entités correspondant aux types les moins dérivés du donné.

S’applique à