Microsoft.EntityFrameworkCore.Migrations.Design Namespace

Classes

CSharpHelper
CSharpMigrationOperationGenerator

Used to generate C# for creating MigrationOperation objects.

CSharpMigrationOperationGeneratorDependencies

Service dependencies parameter class for CSharpMigrationOperationGenerator

This type is typically used by database providers (and other extensions). It is generally not used in application code.

Do not construct instances of this class directly from either provider or application code as the constructor signature may change as new dependencies are added. Instead, use this type in your constructor so that an instance will be created and injected automatically by the dependency injection container. To create an instance with some dependent services replaced, first resolve the object from the dependency injection container, then replace selected services using the 'With...' methods. Do not call the constructor at any point in this process.

CSharpMigrationsGenerator

Used to generate C# code for migrations.

CSharpMigrationsGeneratorDependencies

Service dependencies parameter class for CSharpMigrationsGenerator

This type is typically used by database providers (and other extensions). It is generally not used in application code.

Do not construct instances of this class directly from either provider or application code as the constructor signature may change as new dependencies are added. Instead, use this type in your constructor so that an instance will be created and injected automatically by the dependency injection container. To create an instance with some dependent services replaced, first resolve the object from the dependency injection container, then replace selected services using the 'With...' methods. Do not call the constructor at any point in this process.

CSharpSnapshotGenerator

Used to generate C# code for creating an IModel.

CSharpSnapshotGeneratorDependencies

Service dependencies parameter class for CSharpSnapshotGenerator

This type is typically used by database providers (and other extensions). It is generally not used in application code.

Do not construct instances of this class directly from either provider or application code as the constructor signature may change as new dependencies are added. Instead, use this type in your constructor so that an instance will be created and injected automatically by the dependency injection container. To create an instance with some dependent services replaced, first resolve the object from the dependency injection container, then replace selected services using the 'With...' methods. Do not call the constructor at any point in this process.

MigrationFiles

Represents the file generated for a migration.

MigrationsCodeGenerator

Used to generate code for migrations.

MigrationsCodeGeneratorDependencies

Service dependencies parameter class for MigrationsCodeGenerator

This type is typically used by database providers (and other extensions). It is generally not used in application code.

Do not construct instances of this class directly from either provider or application code as the constructor signature may change as new dependencies are added. Instead, use this type in your constructor so that an instance will be created and injected automatically by the dependency injection container. To create an instance with some dependent services replaced, first resolve the object from the dependency injection container, then replace selected services using the 'With...' methods. Do not call the constructor at any point in this process.

MigrationsScaffolder

Used to scaffold new migrations.

MigrationsScaffolderDependencies

Service dependencies parameter class for MigrationsScaffolder

This type is typically used by database providers (and other extensions). It is generally not used in application code.

Do not construct instances of this class directly from either provider or application code as the constructor signature may change as new dependencies are added. Instead, use this type in your constructor so that an instance will be created and injected automatically by the dependency injection container. To create an instance with some dependent services replaced, first resolve the object from the dependency injection container, then replace selected services using the 'With...' methods. Do not call the constructor at any point in this process.

ScaffoldedMigration

Represents a scaffolded migration.

Interfaces

ICSharpMigrationOperationGenerator

Used to generate C# code for creating MigrationOperation objects.

ICSharpSnapshotGenerator

Used to generate C# code for creating an IModel.

IMigrationsCodeGenerator

Used to generate code for migrations.

IMigrationsCodeGeneratorSelector

Selects an IMigrationsCodeGenerator service for a given programming language.

IMigrationsScaffolder

Used to scaffold new migrations.