MigrationCommandListBuilder 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
MigrationCommandListBuilder(MigrationsSqlGeneratorDependencies) |
创建生成器的新实例。 |
MigrationCommandListBuilder(IRelationalCommandBuilderFactory) |
创建生成器的新实例。 |
MigrationCommandListBuilder(MigrationsSqlGeneratorDependencies)
创建生成器的新实例。
public MigrationCommandListBuilder (Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGeneratorDependencies dependencies);
new Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder : Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGeneratorDependencies -> Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder
Public Sub New (dependencies As MigrationsSqlGeneratorDependencies)
参数
- dependencies
- MigrationsSqlGeneratorDependencies
SQL 代系所需的依赖项。
适用于
MigrationCommandListBuilder(IRelationalCommandBuilderFactory)
创建生成器的新实例。
public MigrationCommandListBuilder (Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilderFactory commandBuilderFactory);
new Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder : Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilderFactory -> Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder
Public Sub New (commandBuilderFactory As IRelationalCommandBuilderFactory)
参数
- commandBuilderFactory
- IRelationalCommandBuilderFactory
用于创建用于生成命令的基础 IRelationalCommandBuilder 的工厂。