Aracılığıyla paylaş


IReadOnlyModel.FindLeastDerivedEntityTypes Yöntem

Tanım

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

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

Parametreler

type
Type

Temel tür.

condition
Func<IReadOnlyEntityType,Boolean>

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

Döndürülenler

Verilenden en az türetilmiş türlere karşılık gelen varlık türlerinin listesi.

Açıklamalar

Daha fazla bilgi ve örnek için bkz. Varlık türlerini ve ilişkilerini modelleme .

Şunlara uygulanır