Share via


IReadOnlyEntityType.LeastDerivedType(IReadOnlyEntityType) メソッド

定義

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

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

パラメーター

otherEntityType
IReadOnlyEntityType

比較対象のもう 1 つのエンティティ型。

戻り値

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

適用対象