Sdílet prostřednictvím


IReadOnlyEntityType.LeastDerivedType(IReadOnlyEntityType) Metoda

Definice

Získá nejmenší odvozený typ mezi zadanými dvěma.

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

Parametry

otherEntityType
IReadOnlyEntityType

Druhý typ entity, se kterým se má porovnávat.

Návraty

Nejmenší odvozený typ mezi zadanými dvěma. Pokud dané typy entit nesouvisejí, null vrátí se příkaz .

Platí pro