Compartir a través de


IConventionEntityType.LeastDerivedType(IReadOnlyEntityType) Método

Definición

Obtiene el tipo menos derivado entre los dos especificados.

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

Parámetros

otherEntityType
IReadOnlyEntityType

El otro tipo de entidad con el que se va a comparar.

Devoluciones

Tipo menos derivado entre los dos especificados. Si los tipos de entidad especificados no están relacionados, null se devuelve.

Se aplica a