MigrationCommandListBuilder 构造函数

定义

重载

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 的工厂。

适用于