IEntityType.LeastDerivedType(IEntityType) Méthode

Définition

Obtient le type le moins dérivé entre les deux spécifiés.

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

Paramètres

otherEntityType
IEntityType

Autre type d’entité à comparer.

Retours

Type le moins dérivé entre les deux spécifiés. Si les types d’entités donnés ne sont pas liés, null est retourné.

S’applique à