Class AlterDatabaseOperation
- Namespace
- Microsoft.EntityFrameworkCore.Migrations.Operations
- Assembly
- Microsoft.EntityFrameworkCore.Relational.dll
A MigrationOperation to alter an existing database.
public class AlterDatabaseOperation : DatabaseOperation, IAlterMigrationOperation
- Inheritance
-
AlterDatabaseOperation
- Implements
- Inherited Members
Remarks
See Database migrations for more information and examples.
Constructors
AlterDatabaseOperation()
public AlterDatabaseOperation()
Properties
OldDatabase
An operation representing the database as it was before being altered.
public virtual DatabaseOperation OldDatabase { get; }