다음을 통해 공유


IModel.FindLeastDerivedEntityTypes 메서드

정의

지정된 에서 가장 적게 파생된 형식에 해당하는 엔터티 형식을 반환합니다.

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

매개 변수

type
Type

기본 형식입니다.

condition
Func<IReadOnlyEntityType,Boolean>

엔터티 형식을 필터링하기 위한 선택적 조건입니다.

반환

지정된 에서 가장 적게 파생된 형식에 해당하는 엔터티 형식 목록입니다.

설명

자세한 내용 과 예제는 엔터티 형식 및 관계 모델링 을 참조하세요.

적용 대상