MigrationsScaffolder 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
MigrationsScaffolder(MigrationsScaffolderDependencies)
- Source:
- MigrationsScaffolder.cs
- Source:
- MigrationsScaffolder.cs
- Source:
- MigrationsScaffolder.cs
- Source:
- MigrationsScaffolder.cs
- Source:
- MigrationsScaffolder.cs
- Source:
- MigrationsScaffolder.cs
- Source:
- MigrationsScaffolder.cs
- Source:
- MigrationsScaffolder.cs
- Source:
- 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
- modelDiffer
- IMigrationsModelDiffer
- idGenerator
- IMigrationsIdGenerator
- migrationCodeGenerator
- MigrationsCodeGenerator
- historyRepository
- IHistoryRepository
- logger
- ILogger<MigrationsScaffolder>
- providerServices
- IDatabaseProviderServices