EntityTypeExtensions.LeastDerivedType(IEntityType, IEntityType) Méthode

Définition

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

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

Paramètres

entityType
IEntityType

Type d'entité.

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, est null retourné.

S’applique à