Freigeben über


CSharpMigrationsGenerator Konstruktoren

Definition

Überlädt

CSharpMigrationsGenerator(MigrationsCodeGeneratorDependencies, CSharpMigrationsGeneratorDependencies)

Initialisiert eine neue Instanz der CSharpMigrationsGenerator-Klasse.

CSharpMigrationsGenerator(CSharpHelper, CSharpMigrationOperationGenerator, CSharpSnapshotGenerator)

CSharpMigrationsGenerator(MigrationsCodeGeneratorDependencies, CSharpMigrationsGeneratorDependencies)

Initialisiert eine neue Instanz der CSharpMigrationsGenerator-Klasse.

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)

Parameter

dependencies
MigrationsCodeGeneratorDependencies

Die Basisabhängigkeiten.

csharpDependencies
CSharpMigrationsGeneratorDependencies

Die Abhängigkeiten.

Gilt für:

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)

Parameter

codeHelper
CSharpHelper
modelGenerator
CSharpSnapshotGenerator

Gilt für: