Microsoft.EntityFrameworkCore.Migrations.Operations Namespace

Classes

AddCheckConstraintOperation

A MigrationOperation for creating a new check constraint.

AddColumnOperation

A MigrationOperation to add a new column.

AddForeignKeyOperation

A MigrationOperation to add a new foreign key.

AddPrimaryKeyOperation

A MigrationOperation to add a new foreign key.

AddUniqueConstraintOperation

A MigrationOperation to add a new unique constraint.

AlterColumnOperation

A MigrationOperation to alter an existing column.

AlterDatabaseOperation

A MigrationOperation to alter an existing database.

AlterSequenceOperation

A MigrationOperation to alter an existing sequence.

AlterTableOperation

A MigrationOperation to alter an existing table.

ColumnOperation

A MigrationOperation for operations on columns. See also AddColumnOperation and AlterColumnOperation.

CreateCheckConstraintOperation

A MigrationOperation for creating a new check constraint.

CreateIndexOperation

A MigrationOperation for creating a new index.

CreateSequenceOperation

A MigrationOperation for creating a new sequence.

CreateTableOperation

A MigrationOperation for creating a new table.

DatabaseOperation

A MigrationOperation for operations on databases. See also AlterDatabaseOperation.

DeleteDataOperation

A MigrationOperation for deleting seed data from an existing table.

DropCheckConstraintOperation

A MigrationOperation for dropping an existing check constraint.

DropColumnOperation

A MigrationOperation for dropping an existing column.

DropForeignKeyOperation

A MigrationOperation for dropping an existing foreign key.

DropIndexOperation

A MigrationOperation for dropping an existing index.

DropPrimaryKeyOperation

A MigrationOperation for dropping a primary key.

DropSchemaOperation

A MigrationOperation for dropping a schema.

DropSequenceOperation

A MigrationOperation for dropping a sequence.

DropTableOperation

A MigrationOperation for dropping an existing table.

DropUniqueConstraintOperation

A MigrationOperation for dropping an existing unique constraint.

EnsureSchemaOperation

A MigrationOperation for ensuring that a schema exists. That is, the schema will be created if and only if it does not already exist.

InsertDataOperation

A MigrationOperation for inserting seed data into a table.

MigrationOperation

Base class for all Migrations operations that can be performed against a database.

RenameColumnOperation

A MigrationOperation for renaming an existing column.

RenameIndexOperation

A MigrationOperation for renaming an existing index.

RenameSequenceOperation

A MigrationOperation for renaming an existing sequence.

RenameTableOperation

A MigrationOperation for renaming an existing table.

RestartSequenceOperation

A MigrationOperation for re-starting an existing sequence.

SequenceOperation

A MigrationOperation for operations on sequences. See also CreateSequenceOperation and AlterSequenceOperation.

SqlOperation

A MigrationOperation for raw SQL commands.

SqlServerCreateDatabaseOperation

A SQL Server-specific MigrationOperation to create a database.

SqlServerDropDatabaseOperation

A SQL Server-specific MigrationOperation to drop a database.

TableOperation

A MigrationOperation for operations on tables. See also CreateTableOperation and AlterTableOperation.

UpdateDataOperation

A MigrationOperation for updating seed data in an existing table.

Interfaces

IAlterMigrationOperation

An interface for any MigrationOperation that alters some existing database object.

ITableMigrationOperation

Represents a migration operation on a table.