OperationExecutor.RemoveMigration 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
OperationExecutor.RemoveMigration(OperationExecutor, IOperationResultHandler, IDictionary) |
初始化 OperationExecutor.RemoveMigration 類別的新執行個體。 |
OperationExecutor.RemoveMigration(OperationExecutor, Object, IDictionary) |
初始化 OperationExecutor.RemoveMigration 類別的新執行個體。 支援的
|
OperationExecutor.RemoveMigration(OperationExecutor, IOperationResultHandler, IDictionary)
初始化 OperationExecutor.RemoveMigration 類別的新執行個體。
public RemoveMigration (Microsoft.EntityFrameworkCore.Design.OperationExecutor executor, Microsoft.EntityFrameworkCore.Design.IOperationResultHandler resultHandler, System.Collections.IDictionary args);
new Microsoft.EntityFrameworkCore.Design.OperationExecutor.RemoveMigration : Microsoft.EntityFrameworkCore.Design.OperationExecutor * Microsoft.EntityFrameworkCore.Design.IOperationResultHandler * System.Collections.IDictionary -> Microsoft.EntityFrameworkCore.Design.OperationExecutor.RemoveMigration
Public Sub New (executor As OperationExecutor, resultHandler As IOperationResultHandler, args As IDictionary)
參數
- executor
- OperationExecutor
作業執行程式。
- resultHandler
- IOperationResultHandler
- args
- IDictionary
作業引數。
備註
支援的 args
引數包括:
contextType
-- DbContext 要使用的 。
force
--請勿檢查是否已將移轉套用至資料庫。
適用於
OperationExecutor.RemoveMigration(OperationExecutor, Object, IDictionary)
初始化 OperationExecutor.RemoveMigration 類別的新執行個體。
支援的 args
引數包括:
contextType
-- DbContext 要使用的 。
force
--請勿檢查是否已將移轉套用至資料庫。
public RemoveMigration (Microsoft.EntityFrameworkCore.Design.OperationExecutor executor, object resultHandler, System.Collections.IDictionary args);
new Microsoft.EntityFrameworkCore.Design.OperationExecutor.RemoveMigration : Microsoft.EntityFrameworkCore.Design.OperationExecutor * obj * System.Collections.IDictionary -> Microsoft.EntityFrameworkCore.Design.OperationExecutor.RemoveMigration
Public Sub New (executor As OperationExecutor, resultHandler As Object, args As IDictionary)
參數
- executor
- OperationExecutor
作業執行程式。
- resultHandler
- Object
- args
- IDictionary
作業引數。