Share via


IEntityType.LeastDerivedType(IEntityType) メソッド

定義

指定した 2 つの間の最小派生型を取得します。

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

パラメーター

otherEntityType
IEntityType

比較するもう 1 つのエンティティ型。

戻り値

指定した 2 つの間の最小派生型。 指定されたエンティティ型が関連していない場合は、 null が返されます。

適用対象