SqlServerMigrationSqlGenerator.WriteCreateTable Method

 

Namespace:   System.Data.Entity.SqlServer
Assembly:  EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)

NameDescription
System_CAPS_protmethodWriteCreateTable(CreateTableOperation)

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

System_CAPS_protmethodWriteCreateTable(CreateTableOperation, IndentedTextWriter)

Writes CREATE TABLE SQL to the target writer.


SqlServerMigrationSqlGenerator.WriteCreateTable Method (CreateTableOperation)

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

protected virtual void WriteCreateTable(
	CreateTableOperation createTableOperation
)

Parameters

createTableOperation
Type: System.Data.Entity.Migrations.Model.CreateTableOperation

The operation to produce SQL for.


SqlServerMigrationSqlGenerator.WriteCreateTable Method (CreateTableOperation, IndentedTextWriter)

Writes CREATE TABLE SQL to the target writer.

protected virtual void WriteCreateTable(
	CreateTableOperation createTableOperation,
	IndentedTextWriter writer
)

Parameters

createTableOperation
Type: System.Data.Entity.Migrations.Model.CreateTableOperation

The operation to produce SQL for.

writer
Type: System.Data.Entity.Migrations.Utilities.IndentedTextWriter

The target writer.