Share via


CoreStrings.NonGenericOptions(Object) メソッド

定義

{contextType} コンストラクターに渡される DbContextOptions は、DbContextOptions<{contextType} である>必要があります。 複数の DbContext 型を登録する場合は、各コンテキスト型のコンストラクターに、非ジェネリック DbContextOptions パラメーターではなく DbContextOptions<TContext> パラメーターがあることを確認します。

public static string NonGenericOptions (object contextType);
public static string NonGenericOptions (object? contextType);
static member NonGenericOptions : obj -> string
Public Shared Function NonGenericOptions (contextType As Object) As String

パラメーター

contextType
Object

戻り値

適用対象