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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework