次の方法で共有


IMutableEntityType.LeastDerivedType(IReadOnlyEntityType) メソッド

定義

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

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

パラメーター

otherEntityType
IReadOnlyEntityType

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

戻り値

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

適用対象