CoreStrings.PoolingContextCtorError(Object) 方法

定义

无法共用类型为“{contextType}”的 DbContext,因为它没有接受 DbContextOptions 类型的单个参数的公共构造函数,也没有多个构造函数。

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

参数

contextType
Object

返回

适用于