Share via


SqlServerMigrationSqlGenerator.WriteCreateTable Method

Definition

Overloads

WriteCreateTable(CreateTableOperation)

Generates SQL for a CreateTableOperation. Generated SQL should be added using the Statement method.

WriteCreateTable(CreateTableOperation, IndentedTextWriter)

Writes CREATE TABLE SQL to the target writer.

WriteCreateTable(CreateTableOperation)

Generates SQL for a CreateTableOperation. Generated SQL should be added using the Statement method.

protected virtual void WriteCreateTable (System.Data.Entity.Migrations.Model.CreateTableOperation createTableOperation);
abstract member WriteCreateTable : System.Data.Entity.Migrations.Model.CreateTableOperation -> unit
override this.WriteCreateTable : System.Data.Entity.Migrations.Model.CreateTableOperation -> unit

Parameters

createTableOperation
CreateTableOperation

The operation to produce SQL for.

Applies to

WriteCreateTable(CreateTableOperation, IndentedTextWriter)

Writes CREATE TABLE SQL to the target writer.

protected virtual void WriteCreateTable (System.Data.Entity.Migrations.Model.CreateTableOperation createTableOperation, System.Data.Entity.Migrations.Utilities.IndentedTextWriter writer);
abstract member WriteCreateTable : System.Data.Entity.Migrations.Model.CreateTableOperation * System.Data.Entity.Migrations.Utilities.IndentedTextWriter -> unit
override this.WriteCreateTable : System.Data.Entity.Migrations.Model.CreateTableOperation * System.Data.Entity.Migrations.Utilities.IndentedTextWriter -> unit

Parameters

createTableOperation
CreateTableOperation

The operation to produce SQL for.

writer
IndentedTextWriter

The target writer.

Applies to