Share via


CSharpMigrationsGenerator Constructors

Definition

Overloads

CSharpMigrationsGenerator(MigrationsCodeGeneratorDependencies, CSharpMigrationsGeneratorDependencies)

Initializes a new instance of the CSharpMigrationsGenerator class.

CSharpMigrationsGenerator(CSharpHelper, CSharpMigrationOperationGenerator, CSharpSnapshotGenerator)

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
modelGenerator
CSharpSnapshotGenerator

Applies to