다음을 통해 공유


EntityTypeExtensions.LeastDerivedType(IEntityType, IEntityType) 메서드

정의

지정된 두 형식 사이의 최소 파생 형식을 가져옵니다.

public static Microsoft.EntityFrameworkCore.Metadata.IEntityType LeastDerivedType (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Metadata.IEntityType otherEntityType);
static member LeastDerivedType : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.Metadata.IEntityType
<Extension()>
Public Function LeastDerivedType (entityType As IEntityType, otherEntityType As IEntityType) As IEntityType

매개 변수

entityType
IEntityType

엔터티 형식입니다.

otherEntityType
IEntityType

비교할 다른 엔터티 형식입니다.

반환

지정된 두 형식 사이의 최소 파생 형식입니다. 지정된 엔터티 형식이 관련 null 되지 않은 경우 가 반환됩니다.

적용 대상