Compartilhar via


IReadOnlyEntityType.LeastDerivedType(IReadOnlyEntityType) Método

Definição

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

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

Parâmetros

otherEntityType
IReadOnlyEntityType

O outro tipo de entidade com o qual comparar.

Retornos

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

Aplica-se a