Share via


IEntityType.LeastDerivedType(IEntityType) Método

Definição

Obtém o tipo menos derivado entre os dois especificados.

public virtual Microsoft.EntityFrameworkCore.Metadata.IEntityType? LeastDerivedType (Microsoft.EntityFrameworkCore.Metadata.IEntityType otherEntityType);
abstract member LeastDerivedType : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.Metadata.IEntityType
override this.LeastDerivedType : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.Metadata.IEntityType
Public Overridable Function LeastDerivedType (otherEntityType As IEntityType) As IEntityType

Parâmetros

otherEntityType
IEntityType

O outro tipo de entidade com o qual comparar.

Retornos

O tipo menos derivado entre os dois especificados. Se os tipos de entidade especificados não estiverem relacionados, será null retornado.

Aplica-se a