CoreStrings.PoolingContextCtorError(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The DbContext of type '{contextType}' cannot be pooled because it does not have a public constructor accepting a single parameter of type DbContextOptions or has more than one constructor.
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
Parameters
- contextType
- Object
Returns
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework