MigrationsScaffolder Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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
Initializes a new instance of the MigrationsScaffolder class.
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)
Parameters
- dependencies
- MigrationsScaffolderDependencies
The dependencies.
Applies to
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)
Parameters
- currentContext
- Microsoft.EntityFrameworkCore.Internal.ICurrentDbContext
- model
- IModel
- migrationsAssembly
- IMigrationsAssembly
- modelDiffer
- IMigrationsModelDiffer
- idGenerator
- IMigrationsIdGenerator
- migrationCodeGenerator
- MigrationsCodeGenerator
- historyRepository
- IHistoryRepository
- logger
- ILogger<MigrationsScaffolder>
- providerServices
- IDatabaseProviderServices
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework