共用方式為


MigrationsScaffolder 建構函式

定義

多載

MigrationsScaffolder(MigrationsScaffolderDependencies)

初始化 MigrationsScaffolder 類別的新執行個體。

MigrationsScaffolder(ICurrentDbContext, IModel, IMigrationsAssembly, IMigrationsModelDiffer, IMigrationsIdGenerator, MigrationsCodeGenerator, IHistoryRepository, ILogger<MigrationsScaffolder>, IDatabaseProviderServices)

MigrationsScaffolder(MigrationsScaffolderDependencies)

來源:
MigrationsScaffolder.cs
來源:
MigrationsScaffolder.cs
來源:
MigrationsScaffolder.cs
來源:
MigrationsScaffolder.cs
來源:
MigrationsScaffolder.cs
來源:
MigrationsScaffolder.cs
來源:
MigrationsScaffolder.cs
來源:
MigrationsScaffolder.cs
來源:
MigrationsScaffolder.cs

初始化 MigrationsScaffolder 類別的新執行個體。

public MigrationsScaffolder (Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsScaffolderDependencies dependencies);
new Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsScaffolder : Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsScaffolderDependencies -> Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsScaffolder
Public Sub New (dependencies As MigrationsScaffolderDependencies)

參數

dependencies
MigrationsScaffolderDependencies

相依性。

適用於

MigrationsScaffolder(ICurrentDbContext, IModel, IMigrationsAssembly, IMigrationsModelDiffer, IMigrationsIdGenerator, MigrationsCodeGenerator, IHistoryRepository, ILogger<MigrationsScaffolder>, IDatabaseProviderServices)

public MigrationsScaffolder (Microsoft.EntityFrameworkCore.Internal.ICurrentDbContext currentContext, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.IMigrationsAssembly migrationsAssembly, Microsoft.EntityFrameworkCore.Migrations.IMigrationsModelDiffer modelDiffer, Microsoft.EntityFrameworkCore.Migrations.IMigrationsIdGenerator idGenerator, Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsCodeGenerator migrationCodeGenerator, Microsoft.EntityFrameworkCore.Migrations.IHistoryRepository historyRepository, Microsoft.Extensions.Logging.ILogger<Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsScaffolder> logger, Microsoft.EntityFrameworkCore.Storage.IDatabaseProviderServices providerServices);
new Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsScaffolder : Microsoft.EntityFrameworkCore.Internal.ICurrentDbContext * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.IMigrationsAssembly * Microsoft.EntityFrameworkCore.Migrations.IMigrationsModelDiffer * Microsoft.EntityFrameworkCore.Migrations.IMigrationsIdGenerator * Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsCodeGenerator * Microsoft.EntityFrameworkCore.Migrations.IHistoryRepository * Microsoft.Extensions.Logging.ILogger<Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsScaffolder> * Microsoft.EntityFrameworkCore.Storage.IDatabaseProviderServices -> Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsScaffolder
Public Sub New (currentContext As ICurrentDbContext, model As IModel, migrationsAssembly As IMigrationsAssembly, modelDiffer As IMigrationsModelDiffer, idGenerator As IMigrationsIdGenerator, migrationCodeGenerator As MigrationsCodeGenerator, historyRepository As IHistoryRepository, logger As ILogger(Of MigrationsScaffolder), providerServices As IDatabaseProviderServices)

參數

currentContext
Microsoft.EntityFrameworkCore.Internal.ICurrentDbContext
model
IModel
migrationsAssembly
IMigrationsAssembly
migrationCodeGenerator
MigrationsCodeGenerator
historyRepository
IHistoryRepository
providerServices
IDatabaseProviderServices

適用於