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