Udostępnij za pośrednictwem


IConventionEntityType.LeastDerivedType(IReadOnlyEntityType) Metoda

Definicja

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

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

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