OperationExecutor.ScriptDbContext Constructor
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.
Initializes a new instance of the OperationExecutor.ScriptDbContext class.
public ScriptDbContext (Microsoft.EntityFrameworkCore.Design.OperationExecutor executor, Microsoft.EntityFrameworkCore.Design.IOperationResultHandler resultHandler, System.Collections.IDictionary args);
new Microsoft.EntityFrameworkCore.Design.OperationExecutor.ScriptDbContext : Microsoft.EntityFrameworkCore.Design.OperationExecutor * Microsoft.EntityFrameworkCore.Design.IOperationResultHandler * System.Collections.IDictionary -> Microsoft.EntityFrameworkCore.Design.OperationExecutor.ScriptDbContext
Public Sub New (executor As OperationExecutor, resultHandler As IOperationResultHandler, args As IDictionary)
Parameters
- executor
- OperationExecutor
The operation executor.
- resultHandler
- IOperationResultHandler
- args
- IDictionary
The operation arguments.
Remarks
The arguments supported by args
are:
contextType
--The DbContext to use.
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