OperationExecutor.RemoveMigration 构造函数

定义

重载

OperationExecutor.RemoveMigration(OperationExecutor, IOperationResultHandler, IDictionary)

初始化 OperationExecutor.RemoveMigration 类的新实例。

OperationExecutor.RemoveMigration(OperationExecutor, Object, IDictionary)

初始化 OperationExecutor.RemoveMigration 类的新实例。

支持 args 的参数包括:

contextType--要使用的 DbContext

force--不要检查来查看迁移是否已应用于数据库。

OperationExecutor.RemoveMigration(OperationExecutor, IOperationResultHandler, IDictionary)

Source:
OperationExecutor.cs
Source:
OperationExecutor.cs
Source:
OperationExecutor.cs
Source:
OperationExecutor.cs
Source:
OperationExecutor.cs
Source:
OperationExecutor.cs
Source:
OperationExecutor.cs

初始化 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

操作执行程序。

args
IDictionary

操作参数。

注解

支持 args 的参数包括:

contextType--要使用的 DbContext

force--不要检查来查看迁移是否已应用于数据库。

适用于

OperationExecutor.RemoveMigration(OperationExecutor, Object, IDictionary)

Source:
OperationExecutor.cs
Source:
OperationExecutor.cs

初始化 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

IOperationResultHandler

args
IDictionary

操作参数。

适用于