Table of Contents

Class AlterTableOperation

Namespace
Microsoft.EntityFrameworkCore.Migrations.Operations
Assembly
Microsoft.EntityFrameworkCore.Relational.dll

A MigrationOperation to alter an existing table.

public class AlterTableOperation : TableOperation, ITableMigrationOperation, IAlterMigrationOperation
Inheritance
AlterTableOperation
Implements
Inherited Members

Remarks

See Database migrations for more information and examples.

Constructors

AlterTableOperation()

public AlterTableOperation()

Properties

OldTable

An operation representing the table as it was before being altered.

public virtual TableOperation OldTable { get; set; }

Property Value

TableOperation