共用方式為


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 的處理站,用來建置命令。

適用於