OperationExecutor.GetMigrations 构造函数

定义

重载

OperationExecutor.GetMigrations(OperationExecutor, IOperationResultHandler, IDictionary)

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

OperationExecutor.GetMigrations(OperationExecutor, Object, IDictionary)

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

支持 args 的参数包括:

contextType--要使用的 DbContext

OperationExecutor.GetMigrations(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.GetMigrations 类的新实例。

public GetMigrations (Microsoft.EntityFrameworkCore.Design.OperationExecutor executor, Microsoft.EntityFrameworkCore.Design.IOperationResultHandler resultHandler, System.Collections.IDictionary args);
new Microsoft.EntityFrameworkCore.Design.OperationExecutor.GetMigrations : Microsoft.EntityFrameworkCore.Design.OperationExecutor * Microsoft.EntityFrameworkCore.Design.IOperationResultHandler * System.Collections.IDictionary -> Microsoft.EntityFrameworkCore.Design.OperationExecutor.GetMigrations
Public Sub New (executor As OperationExecutor, resultHandler As IOperationResultHandler, args As IDictionary)

参数

executor
OperationExecutor

操作执行程序。

args
IDictionary

操作参数。

注解

支持 args 的参数包括:

contextType--要使用的 DbContext

connectionString--数据库的连接字符串。 默认为 Microsoft.Extensions.DependencyInjection.EntityFrameworkServiceCollectionExtensions.AddDbContextOnConfiguring(DbContextOptionsBuilder) 中指定的值。

noConnect--不要连接到数据库。

适用于

OperationExecutor.GetMigrations(OperationExecutor, Object, IDictionary)

Source:
OperationExecutor.cs
Source:
OperationExecutor.cs

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

支持 args 的参数包括:

contextType--要使用的 DbContext

public GetMigrations (Microsoft.EntityFrameworkCore.Design.OperationExecutor executor, object resultHandler, System.Collections.IDictionary args);
new Microsoft.EntityFrameworkCore.Design.OperationExecutor.GetMigrations : Microsoft.EntityFrameworkCore.Design.OperationExecutor * obj * System.Collections.IDictionary -> Microsoft.EntityFrameworkCore.Design.OperationExecutor.GetMigrations
Public Sub New (executor As OperationExecutor, resultHandler As Object, args As IDictionary)

参数

executor
OperationExecutor

操作执行程序。

resultHandler
Object

IOperationResultHandler

args
IDictionary

操作参数。

适用于