Class MigrationOperation
- Namespace
- Microsoft.EntityFrameworkCore.Migrations.Operations
- Assembly
- Microsoft.EntityFrameworkCore.Relational.dll
Base class for all Migrations operations that can be performed against a database.
public abstract class MigrationOperation : Annotatable
- Inheritance
-
MigrationOperation
- Derived
Constructors
MigrationOperation()
protected MigrationOperation()
Properties
IsDestructiveChange
Indicates whether or not the operation might result in loss of data in the database.
public virtual bool IsDestructiveChange { get; set; }