Udostępnij za pośrednictwem


IReadOnlyEntityType.LeastDerivedType(IReadOnlyEntityType) Metoda

Definicja

Pobiera najmniej pochodny typ między określonymi dwoma.

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

Inny typ jednostki do porównania.

Zwraca

Najmniej pochodny typ między określonymi dwoma. Jeśli podane typy jednostek nie są powiązane, null zwracana jest wartość .

Dotyczy