CreateTableOperation CreateTableOperation CreateTableOperation Class

Definition

Represents creating a table.

Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources (such as the end user of an application). If input is accepted from such sources it should be validated before being passed to these APIs to protect against SQL injection attacks etc.

public class CreateTableOperation : System.Data.Entity.Migrations.Model.MigrationOperation
type CreateTableOperation = class
    inherit MigrationOperation
Public Class CreateTableOperation
Inherits MigrationOperation
Inheritance
CreateTableOperationCreateTableOperationCreateTableOperation

Constructors

CreateTableOperation(String, IDictionary<String,Object>, Object) CreateTableOperation(String, IDictionary<String,Object>, Object) CreateTableOperation(String, IDictionary<String,Object>, Object)

Initializes a new instance of the CreateTableOperation class.

Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources (such as the end user of an application). If input is accepted from such sources it should be validated before being passed to these APIs to protect against SQL injection attacks etc.

CreateTableOperation(String, Object) CreateTableOperation(String, Object) CreateTableOperation(String, Object)

Initializes a new instance of the CreateTableOperation class.

Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources (such as the end user of an application). If input is accepted from such sources it should be validated before being passed to these APIs to protect against SQL injection attacks etc.

Properties

Annotations Annotations Annotations

Gets custom annotations that exist on the table to be created.

AnonymousArguments AnonymousArguments AnonymousArguments

Gets additional arguments that may be processed by providers.

Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources (such as the end user of an application). If input is accepted from such sources it should be validated before being passed to these APIs to protect against SQL injection attacks etc.

(Inherited from MigrationOperation)
Columns Columns Columns

Gets the columns to be included in the new table.

Inverse Inverse Inverse

Gets an operation to drop the table.

IsDestructiveChange IsDestructiveChange IsDestructiveChange
Name Name Name

Gets the name of the table to be created.

PrimaryKey PrimaryKey PrimaryKey

Gets or sets the primary key for the new table.

Applies to