Table of Contents

Class DropColumnOperation

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

A MigrationOperation for dropping an existing column.

public class DropColumnOperation : MigrationOperation, ITableMigrationOperation
Inheritance
DropColumnOperation
Implements
Inherited Members

Constructors

DropColumnOperation()

Creates a new instance of the DropColumnOperation.

public DropColumnOperation()

Properties

Name

The name of the column.

public virtual string Name { get; set; }

Property Value

string

Schema

The schema that contains the table, or null if the default schema should be used.

public virtual string Schema { get; set; }

Property Value

string

Table

The table that contains that column.

public virtual string Table { get; set; }

Property Value

string