Share via


IMutableEntityType.LeastDerivedType(IReadOnlyEntityType) Método

Definição

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

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

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