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