OperationExecutor.GetMigrations 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
OperationExecutor.GetMigrations(OperationExecutor, IOperationResultHandler, IDictionary) |
初始化 OperationExecutor.GetMigrations 类的新实例。 |
OperationExecutor.GetMigrations(OperationExecutor, Object, IDictionary) |
初始化 OperationExecutor.GetMigrations 类的新实例。 支持
|
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
操作执行程序。
- resultHandler
- IOperationResultHandler
- args
- IDictionary
操作参数。
注解
支持 args
的参数包括:
contextType
--要使用的 DbContext 。
connectionString
--数据库的连接字符串。 默认为 Microsoft.Extensions.DependencyInjection.EntityFrameworkServiceCollectionExtensions.AddDbContext 或 OnConfiguring(DbContextOptionsBuilder) 中指定的值。
noConnect
--不要连接到数据库。
适用于
OperationExecutor.GetMigrations(OperationExecutor, Object, IDictionary)
- Source:
- OperationExecutor.cs
- Source:
- OperationExecutor.cs
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
- args
- IDictionary
操作参数。