Table of Contents

Class TableOperation

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

A MigrationOperation for operations on tables. See also CreateTableOperation and AlterTableOperation.

public abstract class TableOperation : MigrationOperation, ITableMigrationOperation
Inheritance
TableOperation
Implements
Derived
Inherited Members

Constructors

TableOperation()

protected TableOperation()

Properties

Comment

Comment for this table

public virtual string Comment { get; set; }

Property Value

string

Name

The name of the table.

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