Condividi tramite


SqlServerMigrationSqlGenerator.WriteCreateTable Metodo

Definizione

Overload

WriteCreateTable(CreateTableOperation)

Genera SQL per un CreateTableOperationoggetto . Sql generato deve essere aggiunto usando il metodo Statement.

WriteCreateTable(CreateTableOperation, IndentedTextWriter)

Scrive CREATE TABLE SQL nel writer di destinazione.

WriteCreateTable(CreateTableOperation)

Genera SQL per un CreateTableOperationoggetto . Sql generato deve essere aggiunto usando il metodo Statement.

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

Parametri

createTableOperation
CreateTableOperation

Operazione per cui produrre SQL.

Si applica a

WriteCreateTable(CreateTableOperation, IndentedTextWriter)

Scrive CREATE TABLE SQL nel writer di destinazione.

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

Parametri

createTableOperation
CreateTableOperation

Operazione per cui produrre SQL.

writer
IndentedTextWriter

Writer di destinazione.

Si applica a