ConventionModelExtensions.FindLeastDerivedEntityTypes(IConventionModel, Type, Func<IConventionEntityType,Boolean>) Yöntem

Tanım

Verilen en küçük türetilmiş türlere karşılık gelen varlık türlerini döndürür.

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

Parametreler

model
IConventionModel

İçinde varlık türlerinin bulunacağı model.

type
Type

Temel tür.

condition
Func<IConventionEntityType,Boolean>

Varlık türlerini filtrelemek için isteğe bağlı bir koşul.

Döndürülenler

IReadOnlyList<IConventionEntityType>

Verilen en az türetilen türlere karşılık gelen varlık türlerinin listesi.

Şunlara uygulanır