CSharpMigrationsGenerator 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
CSharpMigrationsGenerator(MigrationsCodeGeneratorDependencies, CSharpMigrationsGeneratorDependencies)
Initializes a new instance of the CSharpMigrationsGenerator class.
public CSharpMigrationsGenerator (Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsCodeGeneratorDependencies dependencies, Microsoft.EntityFrameworkCore.Migrations.Design.CSharpMigrationsGeneratorDependencies csharpDependencies);
new Microsoft.EntityFrameworkCore.Migrations.Design.CSharpMigrationsGenerator : Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsCodeGeneratorDependencies * Microsoft.EntityFrameworkCore.Migrations.Design.CSharpMigrationsGeneratorDependencies -> Microsoft.EntityFrameworkCore.Migrations.Design.CSharpMigrationsGenerator
Public Sub New (dependencies As MigrationsCodeGeneratorDependencies, csharpDependencies As CSharpMigrationsGeneratorDependencies)
Parameters
- dependencies
- MigrationsCodeGeneratorDependencies
The base dependencies.
- csharpDependencies
- CSharpMigrationsGeneratorDependencies
The dependencies.
Applies to
CSharpMigrationsGenerator(CSharpHelper, CSharpMigrationOperationGenerator, CSharpSnapshotGenerator)
public CSharpMigrationsGenerator (Microsoft.EntityFrameworkCore.Migrations.Design.CSharpHelper codeHelper, Microsoft.EntityFrameworkCore.Migrations.Design.CSharpMigrationOperationGenerator operationGenerator, Microsoft.EntityFrameworkCore.Migrations.Design.CSharpSnapshotGenerator modelGenerator);
new Microsoft.EntityFrameworkCore.Migrations.Design.CSharpMigrationsGenerator : Microsoft.EntityFrameworkCore.Migrations.Design.CSharpHelper * Microsoft.EntityFrameworkCore.Migrations.Design.CSharpMigrationOperationGenerator * Microsoft.EntityFrameworkCore.Migrations.Design.CSharpSnapshotGenerator -> Microsoft.EntityFrameworkCore.Migrations.Design.CSharpMigrationsGenerator
Public Sub New (codeHelper As CSharpHelper, operationGenerator As CSharpMigrationOperationGenerator, modelGenerator As CSharpSnapshotGenerator)
Parameters
- codeHelper
- CSharpHelper
- operationGenerator
- CSharpMigrationOperationGenerator
- modelGenerator
- CSharpSnapshotGenerator
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework