Bagikan melalui


IReadOnlyEntityType.LeastDerivedType(IReadOnlyEntityType) Metode

Definisi

Mendapatkan jenis yang paling tidak diturunkan antara dua yang ditentukan.

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

Parameter

otherEntityType
IReadOnlyEntityType

Jenis entitas lain untuk dibandingkan dengan.

Mengembalikan

Jenis yang paling tidak diturunkan antara dua yang ditentukan. Jika jenis entitas yang diberikan tidak terkait, maka null dikembalikan.

Berlaku untuk