Condividi tramite


IEntityType.LeastDerivedType(IEntityType) Metodo

Definizione

Ottiene il tipo meno derivato tra i due specificati.

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

Parametri

otherEntityType
IEntityType

Altro tipo di entità da confrontare.

Restituisce

Tipo meno derivato tra i due specificati. Se i tipi di entità specificati non sono correlati, null viene restituito.

Si applica a