次の方法で共有


CoreStrings.DerivedEntityTypeKey(Object, Object) メソッド

定義

キーは派生型であるため、'{derivedType}' で構成できません。 キーは、ルート型 '{rootType}' で構成する必要があります。 モデルに '{rootType}' を含める予定がない場合は、コンテキスト上の DbSet プロパティによって参照されていないか、ModelBuilder の構成呼び出しで参照されているか、モデルに含まれている型のナビゲーションから参照されていないことを確認してください。

public static string DerivedEntityTypeKey (object derivedType, object rootType);
public static string DerivedEntityTypeKey (object? derivedType, object? rootType);
static member DerivedEntityTypeKey : obj * obj -> string
Public Shared Function DerivedEntityTypeKey (derivedType As Object, rootType As Object) As String

パラメーター

derivedType
Object
rootType
Object

戻り値

適用対象